️ (user settings) cache user settings

This commit is contained in:
Julien Calixte
2023-09-11 23:02:35 +02:00
parent 4adaad8683
commit 1d21ac50b2
4 changed files with 36 additions and 10 deletions

View File

@@ -4,5 +4,6 @@ export enum DataType {
Note = 'Note',
BacklinkNote = 'BacklinkNote',
RepetitionCard = 'RepetitionCard',
History = 'History'
History = 'History',
UserSettings = 'UserSettings'
}

View File

@@ -50,6 +50,7 @@ class Data {
return result?.ok ?? false
}
}
const result = await this.locale?.put(model)
return result?.ok ?? false
} catch (error) {