diff --git a/lib/services/deep_link_service.dart b/lib/services/deep_link_service.dart index 2ea3c615..13baba9f 100644 --- a/lib/services/deep_link_service.dart +++ b/lib/services/deep_link_service.dart @@ -13,10 +13,9 @@ class DeepLinkService extends _$DeepLinkService with ProtocolListener, InfraLogger { @override Future build() async { - if (!Platform.isLinux) { - for (final protocol in _protocols) { - await protocolHandler.register(protocol); - } + if (Platform.isLinux) return null; + for (final protocol in _protocols) { + await protocolHandler.register(protocol); } protocolHandler.addListener(this); ref.onDispose(() {