mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
fix some things in platform utils
This commit is contained in:
@@ -167,7 +167,7 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
|||||||
}
|
}
|
||||||
|
|
||||||
supportsU2f(win: Window): boolean {
|
supportsU2f(win: Window): boolean {
|
||||||
if (win != null && (win as any).u2f !== 'undefined') {
|
if (win != null && (win as any).u2f != null) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,8 +190,7 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
|
|||||||
}
|
}
|
||||||
|
|
||||||
isDev(): boolean {
|
isDev(): boolean {
|
||||||
// TODO?
|
return process.env.ENV === 'development';
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
copyToClipboard(text: string, options?: any): void {
|
copyToClipboard(text: string, options?: any): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user