mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
Drop AbstractAppStore and
put the properties/observables where they belong
This commit is contained in:
parent
917dfa732e
commit
0eba94f671
12 changed files with 145 additions and 191 deletions
|
|
@ -3,14 +3,10 @@ import { Focused, KeyState } from 'Common/Enums';
|
|||
|
||||
import { keyScope, leftPanelDisabled } from 'Common/Globals';
|
||||
|
||||
import { AbstractAppStore } from 'Stores/AbstractApp';
|
||||
|
||||
const Settings = rl.settings;
|
||||
|
||||
class AppUserStore extends AbstractAppStore {
|
||||
class AppUserStore {
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
this.currentAudio = ko.observable('');
|
||||
|
||||
this.focusedState = ko.observable(Focused.None);
|
||||
|
|
@ -59,8 +55,6 @@ class AppUserStore extends AbstractAppStore {
|
|||
}
|
||||
|
||||
populate() {
|
||||
super.populate();
|
||||
|
||||
this.projectHash(Settings.get('ProjectHash'));
|
||||
|
||||
this.contactsAutosave(!!Settings.get('ContactsAutosave'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue