mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Drop useless "disable settings screen"
This commit is contained in:
parent
8010229d6b
commit
3c8cdcbb07
10 changed files with 51 additions and 67 deletions
|
|
@ -892,8 +892,7 @@ class AppUser extends AbstractApp {
|
|||
|
||||
startScreens([
|
||||
MailBoxUserScreen,
|
||||
Settings.capa(Capa.Settings) ? SettingsUserScreen : null
|
||||
// false ? AboutUserScreen : null
|
||||
SettingsUserScreen
|
||||
]);
|
||||
this.hideLoading();
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ export const Capa = {
|
|||
MessageActions: 'MESSAGE_ACTIONS',
|
||||
AttachmentsActions: 'ATTACHMENTS_ACTIONS',
|
||||
DangerousActions: 'DANGEROUS_ACTIONS',
|
||||
Settings: 'SETTINGS',
|
||||
Themes: 'THEMES',
|
||||
UserBackground: 'USER_BACKGROUND',
|
||||
Sieve: 'SIEVE',
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ export class SystemDropDownUserView extends AbstractViewRight {
|
|||
super('SystemDropDown');
|
||||
|
||||
this.allowAccounts = Settings.capa(Capa.AdditionalAccounts);
|
||||
this.allowSettings = Settings.capa(Capa.Settings);
|
||||
|
||||
this.accountEmail = AccountUserStore.email;
|
||||
|
||||
|
|
@ -58,7 +57,7 @@ export class SystemDropDownUserView extends AbstractViewRight {
|
|||
}
|
||||
|
||||
settingsClick() {
|
||||
this.allowSettings && rl.route.setHash(settings());
|
||||
rl.route.setHash(settings());
|
||||
}
|
||||
|
||||
settingsHelp() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue