Skip to content

Commit c414a90

Browse files
MHShettythestinger
authored andcommitted
Update workaround code
1 parent fa0836d commit c414a90

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/src/main/java/app/grapheneos/camera/CamConfig.kt

+1-5
Original file line numberDiff line numberDiff line change
@@ -746,16 +746,12 @@ class CamConfig(private val mActivity: MainActivity) {
746746
false
747747
)
748748
}
749-
}
750-
751-
if (!commonPref.contains(SettingValues.Key.SAVE_IMAGE_AS_PREVIEW)) {
749+
} else {
752750
editor.putBoolean(
753751
SettingValues.Key.SAVE_IMAGE_AS_PREVIEW,
754752
SettingValues.Default.SAVE_IMAGE_AS_PREVIEW
755753
)
756-
}
757754

758-
if (!commonPref.contains(SettingValues.Key.SAVE_IMAGE_AS_PREVIEW)) {
759755
editor.putBoolean(
760756
SettingValues.Key.SAVE_VIDEO_AS_PREVIEW,
761757
SettingValues.Default.SAVE_VIDEO_AS_PREVIEW

0 commit comments

Comments
 (0)