Flush settings to persistent storage
This commit is contained in:
parent
5aafc78847
commit
2225ccb146
@ -199,7 +199,7 @@ object Config : PreferenceModel, DBConfig {
|
||||
|
||||
fun export() {
|
||||
// Flush prefs to disk
|
||||
prefs.edit().apply()
|
||||
prefs.edit().commit()
|
||||
val xml = File(
|
||||
"${get<Context>(Protected).filesDir.parent}/shared_prefs",
|
||||
"${packageName}_preferences.xml"
|
||||
|
Loading…
Reference in New Issue
Block a user