Merge pull request #12 from dlvoy/hotfix/fix-enginering-mode

[FIX] Make enginering mode enabled only when turned on
This commit is contained in:
Milos Kozak 2020-09-29 11:12:08 +02:00 committed by GitHub
commit c2d54c33fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
}