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) {
DEV("develop"),
QA("qa"),
REL("rel");
BETA("huskyBeta"),
DEV("huskyStable");
companion object {
@ -35,9 +34,8 @@ enum class Flavor(private val flavor: String) {
*/
fun getFlavor(flavor: String) =
when(flavor) {
DEV.flavor -> DEV
QA.flavor -> QA
else -> REL
BETA.flavor -> DEV
else -> DEV
}
}
}