consolidate messages

This commit is contained in:
Jonas Bark
2025-11-29 13:51:05 +00:00
parent 4440a04ab8
commit 91d0fd656e

View File

@@ -38,7 +38,7 @@ class _TrainerPageState extends State<TrainerPage> {
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(() {});
});