1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-06-26 10:36:19 +02:00

respect showWindow param

This commit is contained in:
Kyle Spearrin 2018-05-08 10:59:12 -04:00
parent 2c8e153931
commit f149f98145

View File

@ -76,7 +76,7 @@ export class TrayMain {
this.tray = null;
}
if (this.windowMain.win != null && !this.windowMain.win.isVisible()) {
if (showWindow && this.windowMain.win != null && !this.windowMain.win.isVisible()) {
this.windowMain.win.show();
}
}