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

[Chore] Bump jslib (#917)

* Bump jslib
This commit is contained in:
Oscar Hinton
2021-04-07 20:42:57 +02:00
committed by GitHub
parent ba3d4a2390
commit 09fba343fc
5 changed files with 9 additions and 9 deletions

View File

@@ -154,8 +154,8 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
}
}
getApplicationVersion(): string {
return process.env.APPLICATION_VERSION || '-';
getApplicationVersion(): Promise<string> {
return Promise.resolve(process.env.APPLICATION_VERSION || '-');
}
supportsWebAuthn(win: Window): boolean {
@@ -286,7 +286,7 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
}
getDefaultSystemTheme() {
return null as 'light' | 'dark';
return Promise.resolve(null as 'light' | 'dark');
}
onDefaultSystemThemeChange() {