diff --git a/open_earable/lib/controls_tab/views/audio_player.dart b/open_earable/lib/controls_tab/views/audio_player.dart index 2f84c3f..f5224b4 100644 --- a/open_earable/lib/controls_tab/views/audio_player.dart +++ b/open_earable/lib/controls_tab/views/audio_player.dart @@ -220,14 +220,11 @@ class _AudioPlayerCardState extends State { OpenEarableSettings().selectedAudioPlayerRadio = value ?? 0; }); }, - activeColor: !_openEarable.bleManager.connected - ? Colors.grey - : Theme.of(context).colorScheme.secondary, fillColor: MaterialStateProperty.resolveWith((states) { - if (states.contains(MaterialState.disabled)) { - return Colors.grey; + if (states.contains(MaterialState.selected)) { + return Theme.of(context).colorScheme.secondary; } - return Theme.of(context).colorScheme.secondary; + return Colors.grey; }), ); }