⚡️ (user settings) cache user settings
This commit is contained in:
@@ -4,5 +4,6 @@ export enum DataType {
|
||||
Note = 'Note',
|
||||
BacklinkNote = 'BacklinkNote',
|
||||
RepetitionCard = 'RepetitionCard',
|
||||
History = 'History'
|
||||
History = 'History',
|
||||
UserSettings = 'UserSettings'
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@ class Data {
|
||||
return result?.ok ?? false
|
||||
}
|
||||
}
|
||||
|
||||
const result = await this.locale?.put(model)
|
||||
return result?.ok ?? false
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user