feat(mobx): server notification options + data store

This commit is contained in:
Paul
2021-12-11 23:34:46 +00:00
parent 763ac4eb98
commit 6aa542d2a9
10 changed files with 237 additions and 102 deletions

View File

@@ -49,9 +49,7 @@ export function findLanguage(lang?: string): Language {
}
/**
* Keeps track of the last open channels, tabs, etc.
* Handles providing good UX experience on navigating
* back and forth between different parts of the app.
* Keeps track of user's language settings.
*/
export default class LocaleOptions implements Store, Persistent<Data> {
private lang: Language;