mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Cleanup AppUserStore
Simplify KeyState/Focused as Scope enum
This commit is contained in:
parent
62cb918180
commit
eff92c3152
27 changed files with 177 additions and 232 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Capa, KeyState } from 'Common/Enums';
|
||||
import { Capa, Scope } from 'Common/Enums';
|
||||
import { keyScope, leftPanelDisabled, Settings } from 'Common/Globals';
|
||||
import { runSettingsViewModelHooks } from 'Common/Plugins';
|
||||
import { initOnStartOrLangChange, i18n } from 'Common/Translator';
|
||||
|
|
@ -96,7 +96,7 @@ export class SettingsUserScreen extends AbstractSettingsScreen {
|
|||
|
||||
onShow() {
|
||||
this.setSettingsTitle();
|
||||
keyScope(KeyState.Settings);
|
||||
keyScope(Scope.Settings);
|
||||
ThemeStore.isMobile() && leftPanelDisabled(true);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue