mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user