mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 05:13:29 +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();
|
this.win.maximize();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show it later since it might need to be maximized.
|
this.win.show();
|
||||||
// use once event to avoid flash on unstyled content.
|
|
||||||
this.win.once("ready-to-show", () => {
|
|
||||||
this.win.show();
|
|
||||||
});
|
|
||||||
|
|
||||||
if (template === "full-app") {
|
if (template === "full-app") {
|
||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
|
|||||||
Reference in New Issue
Block a user