diff --git a/lib/pages/trainer.dart b/lib/pages/trainer.dart index d36dddc..9a126aa 100644 --- a/lib/pages/trainer.dart +++ b/lib/pages/trainer.dart @@ -38,7 +38,7 @@ class _TrainerPageState extends State { if (mounted) setState(() {}); }); - if (core.settings.getZwiftEmulatorEnabled() && core.actionHandler.supportedApp?.supportsZwiftEmulation == true) { + if (core.settings.getZwiftEmulatorEnabled() && core.settings.getTrainerApp()?.supportsZwiftEmulation == true) { core.zwiftEmulator.startAdvertising(() { if (mounted) setState(() {}); });