diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/SettingsActivity.kt index 15035fa7..15db26fd 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/SettingsActivity.kt @@ -208,10 +208,10 @@ class SettingsActivity : SimpleActivity() { } private fun setupDeleteConfirmation() { - settings_delete_confirmation.isChecked = config.skipDeleteConfirmation - settings_delete_confirmation_holder.setOnClickListener { - settings_delete_confirmation.toggle() - config.skipDeleteConfirmation = settings_delete_confirmation.isChecked + settings_skip_delete_confirmation.isChecked = config.skipDeleteConfirmation + settings_skip_delete_confirmation_holder.setOnClickListener { + settings_skip_delete_confirmation.toggle() + config.skipDeleteConfirmation = settings_skip_delete_confirmation.isChecked } } diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 1d5f46fe..9053d0fd 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -240,7 +240,7 @@