1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-19 11:15:21 +01:00

Renamed command openPopout to promptForLogin

This commit is contained in:
Daniel James Smith 2021-10-08 15:23:37 +02:00
parent 79f097b3cd
commit 4fc968f682
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
2 changed files with 3 additions and 4 deletions

View File

@ -97,8 +97,7 @@ export default class RuntimeBackground {
case 'openPopup':
await this.main.openPopup();
break;
case 'openPopout':
await this.popupUtilsService.popOut(window, 'popup/index.html?uilocation=popout');
case 'promptForLogin':
break;
case 'showDialogResolve':
this.platformUtilsService.resolveDialogPromise(msg.dialogId, msg.confirmed);

View File

@ -72,7 +72,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (isVaultLocked) {
sendPlatformMessage({
command: 'openPopout'
command: 'promptForLogin'
});
sendPlatformMessage({
@ -116,7 +116,7 @@ document.addEventListener('DOMContentLoaded', () => {
if (isVaultLocked) {
sendPlatformMessage({
command: 'openPopout'
command: 'promptForLogin'
});
sendPlatformMessage({