diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt
index 274394aaa..8711fc237 100644
--- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/SettingsActivity.kt
@@ -64,8 +64,6 @@ class SettingsActivity : SimpleActivity() {
setupAppPasswordProtection()
setupFileDeletionPasswordProtection()
setupDeleteEmptyFolders()
- setupAllowPhotoGestures()
- setupAllowVideoGestures()
setupAllowDownGesture()
setupAllowRotatingWithGestures()
setupShowNotch()
@@ -375,22 +373,6 @@ class SettingsActivity : SimpleActivity() {
}
}
- private fun setupAllowPhotoGestures() {
- settings_allow_photo_gestures.isChecked = config.allowPhotoGestures
- settings_allow_photo_gestures_holder.setOnClickListener {
- settings_allow_photo_gestures.toggle()
- config.allowPhotoGestures = settings_allow_photo_gestures.isChecked
- }
- }
-
- private fun setupAllowVideoGestures() {
- settings_allow_video_gestures.isChecked = config.allowVideoGestures
- settings_allow_video_gestures_holder.setOnClickListener {
- settings_allow_video_gestures.toggle()
- config.allowVideoGestures = settings_allow_video_gestures.isChecked
- }
- }
-
private fun setupAllowDownGesture() {
settings_allow_down_gesture.isChecked = config.allowDownGesture
settings_allow_down_gesture_holder.setOnClickListener {
diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt
index 9f0e82bfd..2384f7298 100644
--- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/helpers/Config.kt
@@ -269,7 +269,7 @@ class Config(context: Context) : BaseConfig(context) {
set(deleteEmptyFolders) = prefs.edit().putBoolean(DELETE_EMPTY_FOLDERS, deleteEmptyFolders).apply()
var allowPhotoGestures: Boolean
- get() = prefs.getBoolean(ALLOW_PHOTO_GESTURES, false)
+ get() = prefs.getBoolean(ALLOW_PHOTO_GESTURES, true)
set(allowPhotoGestures) = prefs.edit().putBoolean(ALLOW_PHOTO_GESTURES, allowPhotoGestures).apply()
var allowVideoGestures: Boolean
diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index b8bfda998..052fec177 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -310,29 +310,6 @@
-
-
-
-
-
-
-
-
-
-
-
-