From e240e0752fa40067de36a7218746977e9b761807 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 10 Jun 2018 23:04:02 +0200 Subject: [PATCH] init photo mode by default --- .../main/kotlin/com/simplemobiletools/camera/helpers/Config.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Config.kt index a14b14c6..c93b1aa5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Config.kt @@ -51,7 +51,7 @@ class Config(context: Context) : BaseConfig(context) { set(cameraId) = prefs.edit().putString(LAST_USED_CAMERA, cameraId).apply() var initPhotoMode: Boolean - get() = prefs.getBoolean(INIT_PHOTO_MODE, false) + get() = prefs.getBoolean(INIT_PHOTO_MODE, true) set(initPhotoMode) = prefs.edit().putBoolean(INIT_PHOTO_MODE, initPhotoMode).apply() var flashlightState: Int