Drop useless "disable settings screen"

This commit is contained in:
djmaze 2021-09-23 11:05:19 +02:00
parent 8010229d6b
commit 3c8cdcbb07
10 changed files with 51 additions and 67 deletions

View file

@ -892,8 +892,7 @@ class AppUser extends AbstractApp {
startScreens([
MailBoxUserScreen,
Settings.capa(Capa.Settings) ? SettingsUserScreen : null
// false ? AboutUserScreen : null
SettingsUserScreen
]);
this.hideLoading();

View file

@ -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',

View file

@ -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() {