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 6bc52d698..50cf0ba64 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
@@ -62,6 +62,7 @@ class SettingsActivity : SimpleActivity() {
setupFileDeletionPasswordProtection()
setupDeleteEmptyFolders()
setupAllowPhotoGestures()
+ setupAllowVideoGestures()
setupAllowDownGesture()
setupAllowRotatingWithGestures()
setupShowNotch()
@@ -354,6 +355,14 @@ class SettingsActivity : SimpleActivity() {
}
}
+ 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/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml
index 8a05df610..48397539c 100644
--- a/app/src/main/res/layout/activity_settings.xml
+++ b/app/src/main/res/layout/activity_settings.xml
@@ -310,6 +310,30 @@
+
+
+
+
+
+