Make enginering mode enabled only when turned on

This commit is contained in:
Dominik Dzienia 2020-09-28 21:41:41 +02:00
parent 870c9bb23d
commit 252063d822

View file

@ -25,7 +25,7 @@ class BuildHelper @Inject constructor(private val config: Config) {
if (!config.APS) true else engineeringMode || !devBranch
fun isEngineeringMode(): Boolean =
if (!config.APS) true else engineeringMode || !devBranch
engineeringMode
fun isDev(): Boolean = devBranch
}