mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Improve Settings handling
This commit is contained in:
parent
e7b1ce7509
commit
34b25eedea
39 changed files with 160 additions and 150 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import ko from 'ko';
|
||||
|
||||
import { Capa, StorageResultType } from 'Common/Enums';
|
||||
import { Settings } from 'Common/Globals';
|
||||
|
||||
import AccountStore from 'Stores/User/Account';
|
||||
import { IdentityUserStore } from 'Stores/User/Identity';
|
||||
|
|
@ -13,8 +14,8 @@ import { IdentityPopupView } from 'View/Popup/Identity';
|
|||
|
||||
export class AccountsUserSettings {
|
||||
constructor() {
|
||||
this.allowAdditionalAccount = rl.settings.capa(Capa.AdditionalAccounts);
|
||||
this.allowIdentities = rl.settings.capa(Capa.Identities);
|
||||
this.allowAdditionalAccount = Settings.capa(Capa.AdditionalAccounts);
|
||||
this.allowIdentities = Settings.capa(Capa.Identities);
|
||||
|
||||
this.accounts = AccountStore.accounts;
|
||||
this.identities = IdentityUserStore;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue