Skip to content

Commit

Permalink
fix not working sound effect on windows when play/pause
Browse files Browse the repository at this point in the history
  • Loading branch information
GachiLord committed Jun 9, 2024
1 parent 3ff510e commit 4db46a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/logic/state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ class PlayerState extends ChangeNotifier {
/// Should be called only once
void _playingObserver() async {
await for (final _ in _player.playingStream) {
// apply effects
_soundEffect();
notifyListeners();
}
}
Expand Down

0 comments on commit 4db46a9

Please sign in to comment.