Fix linux deep link service
This commit is contained in:
@@ -13,10 +13,9 @@ class DeepLinkService extends _$DeepLinkService
|
|||||||
with ProtocolListener, InfraLogger {
|
with ProtocolListener, InfraLogger {
|
||||||
@override
|
@override
|
||||||
Future<NewProfileLink?> build() async {
|
Future<NewProfileLink?> build() async {
|
||||||
if (!Platform.isLinux) {
|
if (Platform.isLinux) return null;
|
||||||
for (final protocol in _protocols) {
|
for (final protocol in _protocols) {
|
||||||
await protocolHandler.register(protocol);
|
await protocolHandler.register(protocol);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
protocolHandler.addListener(this);
|
protocolHandler.addListener(this);
|
||||||
ref.onDispose(() {
|
ref.onDispose(() {
|
||||||
|
|||||||
Reference in New Issue
Block a user