mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
fix #135, add an Extension field at Exporting file
This commit is contained in:
@ -43,4 +43,8 @@ class Config(context: Context) : BaseConfig(context) {
|
||||
var placeCursorToEnd: Boolean
|
||||
get() = prefs.getBoolean(CURSOR_PLACEMENT, true)
|
||||
set(placement) = prefs.edit().putBoolean(CURSOR_PLACEMENT, placement).apply()
|
||||
|
||||
var lastUsedExtension: String
|
||||
get() = prefs.getString(LAST_USED_EXTENSION, "txt")
|
||||
set(lastUsedExtension) = prefs.edit().putString(LAST_USED_EXTENSION, lastUsedExtension).apply()
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ val SHOW_KEYBOARD = "show_keyboard"
|
||||
val FONT_SIZE = "font_size"
|
||||
val GRAVITY = "gravity"
|
||||
val CURSOR_PLACEMENT = "cursor_placement"
|
||||
val LAST_USED_EXTENSION = "last_used_extension"
|
||||
|
||||
// gravity
|
||||
val GRAVITY_LEFT = 0
|
||||
|
Reference in New Issue
Block a user