mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-02-18 00:17:40 +01:00
consolidate messages
This commit is contained in:
@@ -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(() {});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user