diff --git a/src/ui/flutter_app/lib/game_page/services/sounds/sound_manager.dart b/src/ui/flutter_app/lib/game_page/services/sounds/sound_manager.dart index 029d8d8b2..d38144998 100644 --- a/src/ui/flutter_app/lib/game_page/services/sounds/sound_manager.dart +++ b/src/ui/flutter_app/lib/game_page/services/sounds/sound_manager.dart @@ -46,7 +46,7 @@ class SoundManager { // Change to maintain a map of PlayerController instances for each sound. final Map _players = - {}; + {}; final Map _soundIds = {}; @@ -154,8 +154,8 @@ class SoundManager { } if (Platform.isIOS) { - _players.forEach((_, kplayer.PlayerController player) => - player.dispose()); + _players + .forEach((_, kplayer.PlayerController player) => player.dispose()); _players.clear(); } else { _soundpool.dispose();