Update flavors

This commit is contained in:
Adolfo Santiago 2021-10-02 08:08:30 +02:00
parent f6629fef7a
commit 300e19a9c5
No known key found for this signature in database
GPG key ID: 244D6F9A317B4A65

View file

@ -21,9 +21,8 @@ package com.keylesspalace.tusky.core.utils
enum class Flavor(private val flavor: String) { enum class Flavor(private val flavor: String) {
DEV("develop"), BETA("huskyBeta"),
QA("qa"), DEV("huskyStable");
REL("rel");
companion object { companion object {
@ -35,9 +34,8 @@ enum class Flavor(private val flavor: String) {
*/ */
fun getFlavor(flavor: String) = fun getFlavor(flavor: String) =
when(flavor) { when(flavor) {
DEV.flavor -> DEV BETA.flavor -> DEV
QA.flavor -> QA else -> DEV
else -> REL
} }
} }
} }