mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
move getDomain to jslib Utils
This commit is contained in:
@@ -17,7 +17,6 @@ import { MessagingService } from '../../abstractions/messaging.service';
|
||||
import { PlatformUtilsService } from '../../abstractions/platformUtils.service';
|
||||
|
||||
import { AnalyticsIds } from '../../misc/analytics';
|
||||
import { Utils } from '../../misc/utils';
|
||||
|
||||
export class ElectronPlatformUtilsService implements PlatformUtilsService {
|
||||
identityClientId: string;
|
||||
@@ -99,10 +98,6 @@ export class ElectronPlatformUtilsService implements PlatformUtilsService {
|
||||
return this.analyticsIdCache;
|
||||
}
|
||||
|
||||
getDomain(uriString: string): string {
|
||||
return Utils.getHostname(uriString);
|
||||
}
|
||||
|
||||
isViewOpen(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user