Add isDismissible option

This commit is contained in:
Rafał Borcz 2021-11-20 01:51:13 +01:00
parent ffb6ab72cd
commit 1a6aac24f2
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,7 @@ val messages = listOf(
content = "Zaktualizowaliśmy politykę prywatności. Kliknij aby zobaczyć więcej",
priority = MessagePriority.LOW,
type = MessageType.DASHBOARD_MESSAGE,
destinationUrl = "https://wulkanowy.github.io/polityka-prywatnosci"
destinationUrl = "https://wulkanowy.github.io/polityka-prywatnosci",
isDismissible = true
)
)

View file

@ -14,4 +14,5 @@ data class Message(
val versionMax: Int? = null,
val targetRegisterHost: String? = null,
val targetFlavor: AppFlavor? = null,
val isDismissible: Boolean = false
)