diff --git a/src/background/runtime.background.ts b/src/background/runtime.background.ts index 948139ccc1..2fce414f08 100644 --- a/src/background/runtime.background.ts +++ b/src/background/runtime.background.ts @@ -104,9 +104,6 @@ export default class RuntimeBackground { case 'bgGetDataForTab': await this.getDataForTab(sender.tab, msg.responseCommand); break; - case 'bgOpenNotificationBar': - await BrowserApi.tabSendMessageData(sender.tab, 'openNotificationBar', msg.data); - break; case 'bgCloseNotificationBar': await BrowserApi.tabSendMessageData(sender.tab, 'closeNotificationBar'); break; diff --git a/src/content/notificationBar.ts b/src/content/notificationBar.ts index 13c7c7e354..103b819d6e 100644 --- a/src/content/notificationBar.ts +++ b/src/content/notificationBar.ts @@ -431,18 +431,6 @@ document.addEventListener('DOMContentLoaded', event => { function closeExistingAndOpenBar(type: string, typeData: any) { let barPage = 'notification/bar.html'; switch (type) { - case 'info': - barPage = barPage + '?info=' + typeData.text; - break; - case 'warning': - barPage = barPage + '?warning=' + typeData.text; - break; - case 'error': - barPage = barPage + '?error=' + typeData.text; - break; - case 'success': - barPage = barPage + '?success=' + typeData.text; - break; case 'add': barPage = barPage + '?add=1&isVaultLocked=' + typeData.isVaultLocked; break; diff --git a/src/notification/bar.html b/src/notification/bar.html index 6262caa6cf..533e0deeb6 100644 --- a/src/notification/bar.html +++ b/src/notification/bar.html @@ -1,4 +1,4 @@ - + @@ -37,7 +37,6 @@ -
diff --git a/src/notification/bar.js b/src/notification/bar.js index a010226907..c299482b63 100644 --- a/src/notification/bar.js +++ b/src/notification/bar.js @@ -126,9 +126,6 @@ document.addEventListener('DOMContentLoaded', () => { } sendPlatformMessage(bgChangeSaveMessage); }); - } else if (getQueryVariable('info')) { - setContent(document.getElementById('template-alert')); - document.getElementById('template-alert-clone').textContent = getQueryVariable('info'); } closeButton.addEventListener('click', (e) => {