Update flavors
This commit is contained in:
parent
f6629fef7a
commit
300e19a9c5
1 changed files with 4 additions and 6 deletions
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue