Rename MessagesFlavor to AppFlavor
This commit is contained in:
parent
0b31f05951
commit
93affca6f4
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
import io.github.wulkanowy.messages.pojo.Message
|
||||
import io.github.wulkanowy.messages.pojo.MessageFlavor
|
||||
import io.github.wulkanowy.messages.pojo.AppFlavor
|
||||
import io.github.wulkanowy.messages.pojo.MessageType
|
||||
|
||||
val messages = listOf(
|
||||
|
@ -23,7 +23,7 @@ val messages = listOf(
|
|||
id = 4,
|
||||
title = "Ważny komunikat dla użytkowników F-Droida",
|
||||
content = "Aktualizacja Wulkanowego właśnie pojawiła się w twoim sklepie! Nie zwlekaj tylko pobierz ją już teraz",
|
||||
targetFlavor = MessageFlavor.FDROID,
|
||||
targetFlavor = AppFlavor.FDROID,
|
||||
versionMax = 97,
|
||||
type = MessageType.DASHBOARD_MESSAGE,
|
||||
),
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package io.github.wulkanowy.messages.pojo
|
||||
|
||||
enum class MessageFlavor {
|
||||
enum class AppFlavor {
|
||||
PLAY,
|
||||
HMS,
|
||||
FDROID,
|
|
@ -12,5 +12,5 @@ data class Message(
|
|||
val versionMin: Int? = null,
|
||||
val versionMax: Int? = null,
|
||||
val targetRegisterHost: String? = null,
|
||||
val targetFlavor: MessageFlavor? = null,
|
||||
val targetFlavor: AppFlavor? = null,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue