mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-30 09:42:48 +01:00
Move applyTrainerAppSelection and applyTargetSelection functions to a new shared lib/utils/trainer_setup.dart file so they can be reused by both ConfigurationPage and the onboarding wizard. - applyTrainerAppSelection: stops unsupported emulators, initializes action handler, starts enabled connection method - applyTargetSelection: sets last target, enables OBP/local methods as needed Configuration page delegates to these shared functions while maintaining call-site behavior via onUpdate() callback. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>