~captainepoch/husky

300e19a9c5b0fa139acafe4b9ddd1fd3f6175e82 — Adolfo Santiago 2 months ago f6629fe
Update flavors
1 files changed, 4 insertions(+), 6 deletions(-)

M husky/app/src/main/java/com/keylesspalace/tusky/core/utils/Flavor.kt
M husky/app/src/main/java/com/keylesspalace/tusky/core/utils/Flavor.kt => husky/app/src/main/java/com/keylesspalace/tusky/core/utils/Flavor.kt +4 -6
@@ 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
            }
    }
}