mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
MacOS: Closing with red button won't open window again through tray icon (#40)
* Fixed issue on MacOS where closing BW via the red button then reopening using tray icon wouldn't work * Added MacOS only condition to the window recreation of the toggleWindow method. Made createWindow public in WindowMain.
This commit is contained in:
committed by
Kyle Spearrin
parent
741e060d99
commit
1bcd430884
@@ -81,7 +81,7 @@ export class WindowMain {
|
||||
});
|
||||
}
|
||||
|
||||
private async createWindow() {
|
||||
async createWindow(): Promise<void> {
|
||||
this.windowStates[Keys.mainWindowSize] = await this.getWindowState(Keys.mainWindowSize, this.defaultWidth,
|
||||
this.defaultHeight);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user