From c807e24ec0369592f16f65b11dfde05c4c59c570 Mon Sep 17 00:00:00 2001 From: Agus Date: Fri, 28 May 2021 16:12:47 -0300 Subject: [PATCH] option to skip delete confirmation --- .../com/simplemobiletools/filemanager/pro/helpers/Config.kt | 4 ---- .../simplemobiletools/filemanager/pro/helpers/Constants.kt | 1 - 2 files changed, 5 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Config.kt index cb75ee53..7c73b2bc 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Config.kt @@ -76,10 +76,6 @@ class Config(context: Context) : BaseConfig(context) { get() = prefs.getFloat(EDITOR_TEXT_ZOOM, 1.2f) set(editorTextZoom) = prefs.edit().putFloat(EDITOR_TEXT_ZOOM, editorTextZoom).apply() - /* var skipDeleteConfirmation: Boolean - get() = prefs.getBoolean(SKIP_DELETE_CONFIRMATION, true) - set(deleteConfirmationEnabled) = prefs.edit().putBoolean(SKIP_DELETE_CONFIRMATION, deleteConfirmationEnabled).apply()*/ - var viewType: Int get() = prefs.getInt(VIEW_TYPE, VIEW_TYPE_LIST) set(viewTypeFiles) = prefs.edit().putInt(VIEW_TYPE, viewTypeFiles).apply() diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Constants.kt index f0a1e859..9a0c221f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/helpers/Constants.kt @@ -20,7 +20,6 @@ const val FILE_COLUMN_CNT = "file_column_cnt" const val FILE_LANDSCAPE_COLUMN_CNT = "file_landscape_column_cnt" const val DISPLAY_FILE_NAMES = "display_file_names" const val SHOW_TABS = "show_tabs" -//const val SKIP_DELETE_CONFIRMATION = "skip_delete_confirm" // open as const val OPEN_AS_DEFAULT = 0