try disabling Focus before capture by default
This commit is contained in:
parent
8b7185d38c
commit
c0d0a06dfe
|
@ -30,7 +30,7 @@ class Config(context: Context) : BaseConfig(context) {
|
||||||
set(enabled) = prefs.edit().putBoolean(SOUND, enabled).apply()
|
set(enabled) = prefs.edit().putBoolean(SOUND, enabled).apply()
|
||||||
|
|
||||||
var focusBeforeCapture: Boolean
|
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()
|
set(focus) = prefs.edit().putBoolean(FOCUS_BEFORE_CAPTURE, focus).apply()
|
||||||
|
|
||||||
var volumeButtonsAsShutter: Boolean
|
var volumeButtonsAsShutter: Boolean
|
||||||
|
|
|
@ -9,7 +9,7 @@ const val RATIO_TOLERANCE = 0.1f
|
||||||
const val SAVE_PHOTOS = "save_photos"
|
const val SAVE_PHOTOS = "save_photos"
|
||||||
const val SHOW_PREVIEW = "show_preview"
|
const val SHOW_PREVIEW = "show_preview"
|
||||||
const val SOUND = "sound"
|
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 VOLUME_BUTTONS_AS_SHUTTER = "volume_buttons_as_shutter"
|
||||||
const val TURN_FLASH_OFF_AT_STARTUP = "turn_flash_off_at_startup"
|
const val TURN_FLASH_OFF_AT_STARTUP = "turn_flash_off_at_startup"
|
||||||
const val FLIP_PHOTOS = "flip_photos"
|
const val FLIP_PHOTOS = "flip_photos"
|
||||||
|
|
Loading…
Reference in New Issue