Avoid abbreviations for extension

This commit is contained in:
Laurent Arnoud 2020-03-15 21:12:42 +01:00
parent 9d22838ae6
commit 29128cd277
No known key found for this signature in database
GPG Key ID: A79DAB2374F95DD5
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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"