1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

Remove more old safari app extension logic

This commit is contained in:
Hinton
2020-12-09 18:23:44 +01:00
parent 02acf0786b
commit 0f2c4b4a59
11 changed files with 14 additions and 42 deletions

View File

@@ -20,7 +20,7 @@ export default class CommandsBackground {
}
async init() {
if (this.isSafari || this.isVivaldi) {
if (this.isVivaldi) {
BrowserApi.messageListener('commands.background', async (msg: any, sender: any, sendResponse: any) => {
if (msg.command === 'keyboardShortcutTriggered' && msg.shortcut) {
await this.processCommand(msg.shortcut, sender);