mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-19 21:01:01 +01:00
init photo mode by default
This commit is contained in:
parent
84199fb858
commit
e240e0752f
@ -51,7 +51,7 @@ class Config(context: Context) : BaseConfig(context) {
|
|||||||
set(cameraId) = prefs.edit().putString(LAST_USED_CAMERA, cameraId).apply()
|
set(cameraId) = prefs.edit().putString(LAST_USED_CAMERA, cameraId).apply()
|
||||||
|
|
||||||
var initPhotoMode: Boolean
|
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()
|
set(initPhotoMode) = prefs.edit().putBoolean(INIT_PHOTO_MODE, initPhotoMode).apply()
|
||||||
|
|
||||||
var flashlightState: Int
|
var flashlightState: Int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user