Add new message

This commit is contained in:
Mikołaj Pich 2024-05-23 06:46:59 +02:00
parent 8585ea9a76
commit c6daf49c2b
No known key found for this signature in database

View file

@ -1,6 +1,17 @@
import io.github.wulkanowy.messages.pojo.* import io.github.wulkanowy.messages.pojo.*
val messages = listOf( val messages = listOf(
Message(
id = 90,
title = "Wulkanowy znowu zablokowany",
content = "Udało nam się przywrócić działanie modułu Uczeń. Nie działają wiadomości i Uczeń Plus. Prosimy o korzystanie ze strony www dziennika",
priority = MessagePriority.HIGH,
messageTypes = listOf(
MessageType.GENERAL_MESSAGE,
),
isXVisible = false,
isVisible = true,
),
Message( Message(
id = 89, id = 89,
title = "Dostępna aktualizacja", title = "Dostępna aktualizacja",
@ -14,7 +25,7 @@ val messages = listOf(
versionMin = 169, versionMin = 169,
versionMax = 170, versionMax = 170,
isXVisible = false, isXVisible = false,
isVisible = true, isVisible = false,
), ),
Message( Message(
id = 88, id = 88,
@ -27,7 +38,7 @@ val messages = listOf(
destinationUrl = "https://www.facebook.com/wulkanowy/posts/874741898001913", destinationUrl = "https://www.facebook.com/wulkanowy/posts/874741898001913",
versionMin = 170, versionMin = 170,
isXVisible = false, isXVisible = false,
isVisible = true, isVisible = false,
), ),
Message( Message(
id = 87, id = 87,
@ -42,7 +53,7 @@ val messages = listOf(
versionMin = 169, versionMin = 169,
versionMax = 170, versionMax = 170,
isXVisible = false, isXVisible = false,
isVisible = true, isVisible = false,
), ),
Message( Message(
id = 86, id = 86,
@ -68,7 +79,7 @@ val messages = listOf(
destinationUrl = "https://appgallery.huawei.com/#/app/C101440411", destinationUrl = "https://appgallery.huawei.com/#/app/C101440411",
versionMax = 167, versionMax = 167,
isXVisible = false, isXVisible = false,
isVisible = true, isVisible = false,
), ),
Message( Message(
id = 84, id = 84,
@ -82,7 +93,7 @@ val messages = listOf(
destinationUrl = "https://play.google.com/store/apps/details?id=io.github.wulkanowy", destinationUrl = "https://play.google.com/store/apps/details?id=io.github.wulkanowy",
versionMax = 167, versionMax = 167,
isXVisible = false, isXVisible = false,
isVisible = true, isVisible = false,
), ),
Message( Message(
id = 83, id = 83,