From c6daf49c2b5de2991f65a59b7f21fc3f95c3f7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Thu, 23 May 2024 06:46:59 +0200 Subject: [PATCH] Add new message --- generator/src/main/kotlin/messages.kt | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/generator/src/main/kotlin/messages.kt b/generator/src/main/kotlin/messages.kt index 060de80..7475082 100644 --- a/generator/src/main/kotlin/messages.kt +++ b/generator/src/main/kotlin/messages.kt @@ -1,6 +1,17 @@ import io.github.wulkanowy.messages.pojo.* 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( id = 89, title = "Dostępna aktualizacja", @@ -14,7 +25,7 @@ val messages = listOf( versionMin = 169, versionMax = 170, isXVisible = false, - isVisible = true, + isVisible = false, ), Message( id = 88, @@ -27,7 +38,7 @@ val messages = listOf( destinationUrl = "https://www.facebook.com/wulkanowy/posts/874741898001913", versionMin = 170, isXVisible = false, - isVisible = true, + isVisible = false, ), Message( id = 87, @@ -42,7 +53,7 @@ val messages = listOf( versionMin = 169, versionMax = 170, isXVisible = false, - isVisible = true, + isVisible = false, ), Message( id = 86, @@ -68,7 +79,7 @@ val messages = listOf( destinationUrl = "https://appgallery.huawei.com/#/app/C101440411", versionMax = 167, isXVisible = false, - isVisible = true, + isVisible = false, ), Message( id = 84, @@ -82,7 +93,7 @@ val messages = listOf( destinationUrl = "https://play.google.com/store/apps/details?id=io.github.wulkanowy", versionMax = 167, isXVisible = false, - isVisible = true, + isVisible = false, ), Message( id = 83,