Fix linux deep link service

This commit is contained in:
problematicconsumer
2023-07-24 19:51:03 +03:30
parent 0f0d52e55b
commit 2eb182f512

View File

@@ -13,10 +13,9 @@ class DeepLinkService extends _$DeepLinkService
with ProtocolListener, InfraLogger {
@override
Future<NewProfileLink?> 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(() {