mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
adding the settings item for moving undone checklist items
This commit is contained in:
@ -76,4 +76,8 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
var lastCreatedNoteType: Int
|
||||
get() = prefs.getInt(LAST_CREATED_NOTE_TYPE, TYPE_TEXT)
|
||||
set(lastCreatedNoteType) = prefs.edit().putInt(LAST_CREATED_NOTE_TYPE, lastCreatedNoteType).apply()
|
||||
|
||||
var moveUndoneChecklistItems: Boolean
|
||||
get() = prefs.getBoolean(MOVE_UNDONE_CHECKLIST_ITEMS, false)
|
||||
set(moveUndoneChecklistItems) = prefs.edit().putBoolean(MOVE_UNDONE_CHECKLIST_ITEMS, moveUndoneChecklistItems).apply()
|
||||
}
|
||||
|
@ -30,6 +30,7 @@ const val LAST_USED_SAVE_PATH = "last_used_save_path"
|
||||
const val ENABLE_LINE_WRAP = "enable_line_wrap"
|
||||
const val USE_INCOGNITO_MODE = "use_incognito_mode"
|
||||
const val LAST_CREATED_NOTE_TYPE = "last_created_note_type"
|
||||
const val MOVE_UNDONE_CHECKLIST_ITEMS = "move_undone_checklist_items"
|
||||
|
||||
// gravity
|
||||
const val GRAVITY_LEFT = 0
|
||||
|
Reference in New Issue
Block a user