Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Mar 31, 2024
1 parent 1f365a8 commit 8a45850
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SoundManager {

// Change to maintain a map of PlayerController instances for each sound.
final Map<Sound, kplayer.PlayerController> _players =
<Sound, kplayer.PlayerController>{};
<Sound, kplayer.PlayerController>{};

final Map<Sound, int> _soundIds = <Sound, int>{};

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 8a45850

Please sign in to comment.