mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-07 05:47:40 +01:00
properly store the last filepicker path
This commit is contained in:
parent
502ecb6b0f
commit
2f1b545456
@ -328,6 +328,6 @@ class Config(context: Context) : BaseConfig(context) {
|
|||||||
set(wasNewAppShown) = prefs.edit().putBoolean(WAS_NEW_APP_SHOWN, wasNewAppShown).apply()
|
set(wasNewAppShown) = prefs.edit().putBoolean(WAS_NEW_APP_SHOWN, wasNewAppShown).apply()
|
||||||
|
|
||||||
var lastFilepickerPath: String
|
var lastFilepickerPath: String
|
||||||
get() = prefs.getString(TEMP_FOLDER_PATH, "")
|
get() = prefs.getString(LAST_FILEPICKER_PATH, "")
|
||||||
set(tempFolderPath) = prefs.edit().putString(TEMP_FOLDER_PATH, tempFolderPath).apply()
|
set(lastFilepickerPath) = prefs.edit().putString(LAST_FILEPICKER_PATH, lastFilepickerPath).apply()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user