make sure we select proper preview aspect ratio

This commit is contained in:
tibbi
2018-06-05 20:25:02 +02:00
parent acea2ce5f2
commit f1359e1909
2 changed files with 42 additions and 15 deletions

View File

@ -55,7 +55,7 @@ class Config(context: Context) : BaseConfig(context) {
set(state) = prefs.edit().putInt(FLASHLIGHT_STATE, state).apply()
var backPhotoResIndex: Int
get() = prefs.getInt(BACK_PHOTO_RESOLUTION_INDEX, -1)
get() = prefs.getInt(BACK_PHOTO_RESOLUTION_INDEX, 0)
set(backPhotoResIndex) = prefs.edit().putInt(BACK_PHOTO_RESOLUTION_INDEX, backPhotoResIndex).apply()
var backVideoResIndex: Int