mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
updated Commons, min Android OS to 5, removed Camera One implementation
This commit is contained in:
@ -21,10 +21,6 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
}
|
||||
set(path) = prefs.edit().putString(SAVE_PHOTOS, path).apply()
|
||||
|
||||
var isShowPreviewEnabled: Boolean
|
||||
get() = prefs.getBoolean(SHOW_PREVIEW, false)
|
||||
set(enabled) = prefs.edit().putBoolean(SHOW_PREVIEW, enabled).apply()
|
||||
|
||||
var isSoundEnabled: Boolean
|
||||
get() = prefs.getBoolean(SOUND, true)
|
||||
set(enabled) = prefs.edit().putBoolean(SOUND, enabled).apply()
|
||||
@ -73,10 +69,6 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
get() = prefs.getInt(FRONT_VIDEO_RESOLUTION_INDEX, 0)
|
||||
set(frontVideoResIndex) = prefs.edit().putInt(FRONT_VIDEO_RESOLUTION_INDEX, frontVideoResIndex).apply()
|
||||
|
||||
var wasPhotoPreviewHintShown: Boolean
|
||||
get() = prefs.getBoolean(PHOTO_PREVIEW_HINT_SHOWN, false)
|
||||
set(wasPhotoPreviewHintShown) = prefs.edit().putBoolean(PHOTO_PREVIEW_HINT_SHOWN, wasPhotoPreviewHintShown).apply()
|
||||
|
||||
var keepSettingsVisible: Boolean
|
||||
get() = prefs.getBoolean(KEEP_SETTINGS_VISIBLE, false)
|
||||
set(keepSettingsVisible) = prefs.edit().putBoolean(KEEP_SETTINGS_VISIBLE, keepSettingsVisible).apply()
|
||||
|
Reference in New Issue
Block a user