mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Add settings toggle to enable/disable browser integration
This commit is contained in:
@@ -44,6 +44,14 @@ export class MessagingMain {
|
||||
case 'hideToTray':
|
||||
this.main.trayMain.hideToTray();
|
||||
break;
|
||||
case 'enableBrowserIntegration':
|
||||
this.main.nativeMessagingService.generateManifests();
|
||||
this.main.nativeMessagingService.listen();
|
||||
break;
|
||||
case 'disableBrowserIntegration':
|
||||
this.main.nativeMessagingService.removeManifests();
|
||||
this.main.nativeMessagingService.stop();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user