Add openUrl field
This commit is contained in:
parent
7d11a31128
commit
0661880db2
2 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,14 @@ import io.github.wulkanowy.messages.pojo.MessageFlavor
|
|||
import io.github.wulkanowy.messages.pojo.MessageType
|
||||
|
||||
val messages = listOf(
|
||||
Message(
|
||||
id = 6,
|
||||
title = "Aktualizacja naprawiająca wszystko!",
|
||||
content = "Przejdź do sklepu z Aplikacjami i zaktualizuj Wulkanowego",
|
||||
openUrl = "market://details?id=io.github.wulkanowy",
|
||||
versionMax = 97,
|
||||
type = MessageType.DASHBOARD_MESSAGE,
|
||||
),
|
||||
Message(
|
||||
id = 5,
|
||||
title = "Aktualizacja naprawiająca działanie Opolskiej eSzkoły",
|
||||
|
|
|
@ -8,6 +8,7 @@ data class Message(
|
|||
val title: String,
|
||||
val content: String,
|
||||
val type: MessageType,
|
||||
val openUrl: String? = null,
|
||||
val versionMin: Int? = null,
|
||||
val versionMax: Int? = null,
|
||||
val targetRegisterHost: String? = null,
|
||||
|
|
Loading…
Reference in a new issue