mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 05:53:42 +00:00
rename minmimal-app to modal-app
This commit is contained in:
@@ -205,7 +205,7 @@ export class TrayMain {
|
||||
|
||||
private async fakePopup() {
|
||||
if (this.windowMain.win == null || this.windowMain.win.isDestroyed()) {
|
||||
await this.windowMain.createWindow("minimal-app");
|
||||
await this.windowMain.createWindow("modal-app");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -197,7 +197,7 @@ export class WindowMain {
|
||||
}
|
||||
}
|
||||
|
||||
async createWindow(template: "full-app" | "minimal-app" = "full-app"): Promise<void> {
|
||||
async createWindow(template: "full-app" | "modal-app" = "full-app"): Promise<void> {
|
||||
this.windowStates[mainWindowSizeKey] = await this.getWindowState(
|
||||
this.defaultWidth,
|
||||
this.defaultHeight,
|
||||
@@ -231,7 +231,7 @@ export class WindowMain {
|
||||
},
|
||||
});
|
||||
|
||||
if (template === "minimal-app") {
|
||||
if (template === "modal-app") {
|
||||
applyPopupModalStyles(this.win);
|
||||
} else {
|
||||
applyMainWindowStyles(this.win, this.windowStates[mainWindowSizeKey]);
|
||||
|
||||
Reference in New Issue
Block a user