mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-03 13:33:32 +01:00
cmd + w doesn't close the window on macOS. Based on @cscharf explanation - https://github.com/bitwarden/desktop/issues/714#issuecomment-810554674 - it seems that issue was introduced in response to erroneous Apple Store approver request. The code change reversed this change.
This commit is contained in:
parent
827674847f
commit
c832728b6d
@ -9,8 +9,6 @@ import {
|
||||
import { I18nService } from '../abstractions/i18n.service';
|
||||
import { WindowMain } from './window.main';
|
||||
|
||||
import { isMacAppStore } from './utils';
|
||||
|
||||
export class BaseMenu {
|
||||
protected editMenuItemOptions: MenuItemConstructorOptions;
|
||||
protected viewSubMenuItemOptions: MenuItemConstructorOptions[];
|
||||
@ -143,7 +141,7 @@ export class BaseMenu {
|
||||
},
|
||||
{
|
||||
label: this.i18nService.t('close'),
|
||||
role: isMacAppStore() ? 'quit' : 'close',
|
||||
role: 'close',
|
||||
},
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user