mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Remove useless "disable reload" feature
This commit is contained in:
parent
b15178ce46
commit
10143cf48f
6 changed files with 6 additions and 16 deletions
|
|
@ -7,7 +7,6 @@ export const Capa = {
|
|||
OpenPGP: 'OPEN_PGP',
|
||||
Prefetch: 'PREFETCH',
|
||||
Contacts: 'CONTACTS',
|
||||
Reload: 'RELOAD',
|
||||
Search: 'SEARCH',
|
||||
SearchAdv: 'SEARCH_ADV',
|
||||
MessageActions: 'MESSAGE_ACTIONS',
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ export class MessageListMailBoxUserView extends AbstractViewRight {
|
|||
|
||||
this.newMoveToFolder = !!SettingsGet('NewMoveToFolder');
|
||||
|
||||
this.allowReload = Settings.capa(Capa.Reload);
|
||||
this.allowSearch = Settings.capa(Capa.Search);
|
||||
this.allowSearchAdv = Settings.capa(Capa.SearchAdv);
|
||||
this.allowDangerousActions = Settings.capa(Capa.DangerousActions);
|
||||
|
|
@ -770,13 +769,11 @@ export class MessageListMailBoxUserView extends AbstractViewRight {
|
|||
return false;
|
||||
});
|
||||
|
||||
if (Settings.capa(Capa.Reload)) {
|
||||
// check mail
|
||||
shortcuts.add('r', 'meta', [Scope.FolderList, Scope.MessageList, Scope.MessageView], () => {
|
||||
this.reloadCommand();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
// check mail
|
||||
shortcuts.add('r', 'meta', [Scope.FolderList, Scope.MessageList, Scope.MessageView], () => {
|
||||
this.reloadCommand();
|
||||
return false;
|
||||
});
|
||||
|
||||
// check all
|
||||
shortcuts.add('a', 'meta', Scope.MessageList, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue