1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

extract analytics class to jslib

This commit is contained in:
Kyle Spearrin
2018-01-26 10:48:32 -05:00
parent f2f34c8e70
commit caf45ad484
8 changed files with 26 additions and 107 deletions

View File

@@ -152,6 +152,10 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
// TODO
}
getApplicationVersion(): string {
return BrowserApi.getApplicationVersion();
}
private sidebarViewName(): string {
if ((window as any).chrome.sidebarAction && this.isFirefox()) {
return 'sidebar';