properly store the last filepicker path
This commit is contained in:
parent
502ecb6b0f
commit
2f1b545456
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue