From cfe8c29f58e00dd72fce24585a3d7cf67fb99584 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Mon, 31 Jan 2022 20:51:12 +0100 Subject: [PATCH] engineering_mode --- .../nightscout/androidaps/utils/buildHelper/BuildHelperImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/info/nightscout/androidaps/utils/buildHelper/BuildHelperImpl.kt b/app/src/main/java/info/nightscout/androidaps/utils/buildHelper/BuildHelperImpl.kt index b2bb3d99db..77e725e998 100644 --- a/app/src/main/java/info/nightscout/androidaps/utils/buildHelper/BuildHelperImpl.kt +++ b/app/src/main/java/info/nightscout/androidaps/utils/buildHelper/BuildHelperImpl.kt @@ -14,7 +14,7 @@ class BuildHelperImpl constructor( private var engineeringMode = false init { - val engineeringModeSemaphore = File(fileListProvider.ensureExtraDirExists(), "engineering__mode") + val engineeringModeSemaphore = File(fileListProvider.ensureExtraDirExists(), "engineering_mode") engineeringMode = engineeringModeSemaphore.exists() && engineeringModeSemaphore.isFile devBranch = BuildConfig.VERSION.contains("-") || BuildConfig.VERSION.matches(Regex(".*[a-zA-Z]+.*"))