try disabling Focus before capture by default

This commit is contained in:
tibbi 2018-06-11 13:56:25 +02:00
parent 8b7185d38c
commit c0d0a06dfe
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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"