mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
option to skip delete confirmation
This commit is contained in:
@ -76,10 +76,6 @@ class Config(context: Context) : BaseConfig(context) {
|
|||||||
get() = prefs.getFloat(EDITOR_TEXT_ZOOM, 1.2f)
|
get() = prefs.getFloat(EDITOR_TEXT_ZOOM, 1.2f)
|
||||||
set(editorTextZoom) = prefs.edit().putFloat(EDITOR_TEXT_ZOOM, editorTextZoom).apply()
|
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
|
var viewType: Int
|
||||||
get() = prefs.getInt(VIEW_TYPE, VIEW_TYPE_LIST)
|
get() = prefs.getInt(VIEW_TYPE, VIEW_TYPE_LIST)
|
||||||
set(viewTypeFiles) = prefs.edit().putInt(VIEW_TYPE, viewTypeFiles).apply()
|
set(viewTypeFiles) = prefs.edit().putInt(VIEW_TYPE, viewTypeFiles).apply()
|
||||||
|
@ -20,7 +20,6 @@ const val FILE_COLUMN_CNT = "file_column_cnt"
|
|||||||
const val FILE_LANDSCAPE_COLUMN_CNT = "file_landscape_column_cnt"
|
const val FILE_LANDSCAPE_COLUMN_CNT = "file_landscape_column_cnt"
|
||||||
const val DISPLAY_FILE_NAMES = "display_file_names"
|
const val DISPLAY_FILE_NAMES = "display_file_names"
|
||||||
const val SHOW_TABS = "show_tabs"
|
const val SHOW_TABS = "show_tabs"
|
||||||
//const val SKIP_DELETE_CONFIRMATION = "skip_delete_confirm"
|
|
||||||
|
|
||||||
// open as
|
// open as
|
||||||
const val OPEN_AS_DEFAULT = 0
|
const val OPEN_AS_DEFAULT = 0
|
||||||
|
Reference in New Issue
Block a user