init photo mode by default

This commit is contained in:
tibbi 2018-06-10 23:04:02 +02:00
parent 84199fb858
commit e240e0752f
1 changed files with 1 additions and 1 deletions

View File

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