mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
Revert event-driven .show, in order for bootstrap/hide-to-tray to work (#14181)
This commit is contained in:
@@ -292,11 +292,7 @@ export class WindowMain {
|
||||
this.win.maximize();
|
||||
}
|
||||
|
||||
// Show it later since it might need to be maximized.
|
||||
// use once event to avoid flash on unstyled content.
|
||||
this.win.once("ready-to-show", () => {
|
||||
this.win.show();
|
||||
});
|
||||
this.win.show();
|
||||
|
||||
if (template === "full-app") {
|
||||
// and load the index.html of the app.
|
||||
|
||||
Reference in New Issue
Block a user