~captainepoch/husky

330d1e3898e7fc5d593d5d61b23260a74dbbe57f — Adolfo Santiago 3 months ago 22a0efd
Added Flavor dev
1 files changed, 2 insertions(+), 0 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 +2 -0
@@ 21,6 21,7 @@ package com.keylesspalace.tusky.core.utils

enum class Flavor(private val flavor: String) {

    DEV("huskyDev"),
    BETA("huskyBeta"),
    STABLE("huskyStable"),
    NEW_HUSKY("huskyNewhusky");


@@ 35,6 36,7 @@ enum class Flavor(private val flavor: String) {
         */
        fun getFlavor(flavor: String) =
            when(flavor) {
                DEV.flavor -> DEV
                BETA.flavor -> BETA
                NEW_HUSKY.flavor -> NEW_HUSKY
                else -> STABLE