Avoid abbreviations for extension
This commit is contained in:
parent
9d22838ae6
commit
29128cd277
|
@ -31,8 +31,8 @@ class Config(context: Context) : BaseConfig(context) {
|
|||
set(lastSaveFolder) = prefs.edit().putString(LAST_SAVE_FOLDER, lastSaveFolder).apply()
|
||||
|
||||
var lastSaveExtension: String
|
||||
get() = prefs.getString(LAST_SAVE_EXT, "")!!
|
||||
set(lastSaveExtension) = prefs.edit().putString(LAST_SAVE_EXT, lastSaveExtension).apply()
|
||||
get() = prefs.getString(LAST_SAVE_EXTENSION, "")!!
|
||||
set(lastSaveExtension) = prefs.edit().putString(LAST_SAVE_EXTENSION, lastSaveExtension).apply()
|
||||
|
||||
var allowZoomingCanvas: Boolean
|
||||
get() = prefs.getBoolean(ALLOW_ZOOMING_CANVAS, false)
|
||||
|
|
|
@ -5,7 +5,7 @@ const val CANVAS_BACKGROUND_COLOR = "canvas_background_color"
|
|||
const val SHOW_BRUSH_SIZE = "show_brush_size"
|
||||
const val BRUSH_SIZE = "brush_size_2"
|
||||
const val LAST_SAVE_FOLDER = "last_save_folder"
|
||||
const val LAST_SAVE_EXT = "last_save_ext"
|
||||
const val LAST_SAVE_EXTENSION = "last_save_extension"
|
||||
const val ALLOW_ZOOMING_CANVAS = "allow_zooming_canvas"
|
||||
const val FORCE_PORTRAIT_MODE = "force_portrait_mode"
|
||||
|
||||
|
|
Loading…
Reference in New Issue