From c0d0a06dfe02a306b029be80de0aa09a9c99f9b2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 11 Jun 2018 13:56:25 +0200 Subject: [PATCH] try disabling Focus before capture by default --- .../main/kotlin/com/simplemobiletools/camera/helpers/Config.kt | 2 +- .../kotlin/com/simplemobiletools/camera/helpers/Constants.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 540e2446..94e89aaf 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Config.kt @@ -30,7 +30,7 @@ class Config(context: Context) : BaseConfig(context) { set(enabled) = prefs.edit().putBoolean(SOUND, enabled).apply() var focusBeforeCapture: Boolean - get() = prefs.getBoolean(FOCUS_BEFORE_CAPTURE, true) + get() = prefs.getBoolean(FOCUS_BEFORE_CAPTURE, false) set(focus) = prefs.edit().putBoolean(FOCUS_BEFORE_CAPTURE, focus).apply() var volumeButtonsAsShutter: Boolean diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Constants.kt index 84e88e33..7d34c213 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/helpers/Constants.kt @@ -9,7 +9,7 @@ const val RATIO_TOLERANCE = 0.1f const val SAVE_PHOTOS = "save_photos" const val SHOW_PREVIEW = "show_preview" const val SOUND = "sound" -const val FOCUS_BEFORE_CAPTURE = "focus_before_capture" +const val FOCUS_BEFORE_CAPTURE = "focus_before_capture_2" const val VOLUME_BUTTONS_AS_SHUTTER = "volume_buttons_as_shutter" const val TURN_FLASH_OFF_AT_STARTUP = "turn_flash_off_at_startup" const val FLIP_PHOTOS = "flip_photos"