|
@@ -20,7 +20,7 @@ class YTPreferences {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
setData(key: string, data: ESObject) {
|
|
setData(key: string, data: ESObject) {
|
|
|
- this.preference.put(key, data)
|
|
|
|
|
|
|
+ this.preference.putSync(key, data)
|
|
|
this.preference.flushSync()
|
|
this.preference.flushSync()
|
|
|
}
|
|
}
|
|
|
|
|
|