typo: isDeepLinkRegistred -> isDeepLinkRegistered

This commit is contained in:
slinky
2023-08-11 20:04:46 -07:00
parent 4b741ead15
commit 8b4a5f15e7
5 changed files with 5 additions and 5 deletions
@@ -314,6 +314,6 @@ export class LocalMapsManagerService {
}
public isDeepLinksEnabled(): boolean {
return Array.from(Object.values(this.DEEP_LINKS)).every(link => this.deepLink.isDeepLinkRegistred(link));
return Array.from(Object.values(this.DEEP_LINKS)).every(link => this.deepLink.isDeepLinkRegistered(link));
}
}
@@ -242,7 +242,7 @@ export class LocalModelsManagerService {
}
public isDeepLinksEnabled(): boolean {
return Array.from(Object.values(this.DEEP_LINKS)).every(link => this.deepLink.isDeepLinkRegistred(link));
return Array.from(Object.values(this.DEEP_LINKS)).every(link => this.deepLink.isDeepLinkRegistered(link));
}
}
@@ -210,6 +210,6 @@ export class LocalPlaylistsManagerService {
}
public isDeepLinksEnabled(): boolean {
return Array.from(Object.values(this.DEEP_LINKS)).every(link => this.deepLink.isDeepLinkRegistred(link));
return Array.from(Object.values(this.DEEP_LINKS)).every(link => this.deepLink.isDeepLinkRegistered(link));
}
}
+1 -1
View File
@@ -30,7 +30,7 @@ export class BsmProtocolService {
}
private registerBsmProtocol(): boolean{
if(this.deepLink.isDeepLinkRegistred(this.BSM_PROTOCOL)){ return true; }
if(this.deepLink.isDeepLinkRegistered(this.BSM_PROTOCOL)){ return true; }
return this.deepLink.registerDeepLink(this.BSM_PROTOCOL);
}
+1 -1
View File
@@ -35,7 +35,7 @@ export class DeepLinkService {
return app.removeAsDefaultProtocolClient(protocol);
}
public isDeepLinkRegistred(protocol: string): boolean {
public isDeepLinkRegistered(protocol: string): boolean {
if (process.defaultApp && process.argv.length >= 2) {
return app.isDefaultProtocolClient(protocol, process.execPath, [path.resolve(process.argv[1])]);
}