diff --git a/lib/bluetooth/devices/mywhoosh/link.dart b/lib/bluetooth/devices/mywhoosh/link.dart index 1919e60..f3a4f4b 100644 --- a/lib/bluetooth/devices/mywhoosh/link.dart +++ b/lib/bluetooth/devices/mywhoosh/link.dart @@ -167,7 +167,7 @@ class WhooshLink { return kIsWeb ? false : switch (target) { - Target.thisDevice => !Platform.isIOS, + Target.thisDevice => !Platform.isWindows, _ => true, }; } diff --git a/lib/utils/core.dart b/lib/utils/core.dart index b4e7752..d6b8e94 100644 --- a/lib/utils/core.dart +++ b/lib/utils/core.dart @@ -172,7 +172,10 @@ class CoreLogic { return core.settings.getRemoteControlEnabled() && showRemote; } - bool get showMyWhooshLink => core.settings.getTrainerApp() is MyWhoosh && core.settings.getLastTarget() != null; + bool get showMyWhooshLink => + core.settings.getTrainerApp() is MyWhoosh && + core.settings.getLastTarget() != null && + core.whooshLink.isCompatible(core.settings.getLastTarget()!); bool get showRemote => core.settings.getLastTarget() != Target.thisDevice && core.actionHandler is RemoteActions;