Skip to content

Commit

Permalink
fix(windows): media control not working #641
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Nov 21, 2023
1 parent 75c0c4f commit 7818574
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/services/audio_services/windows_audio_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,9 @@ class WindowsAudioService {
break;
case AudioPlaybackState.stopped:
await smtc.setPlaybackStatus(PlaybackStatus.Stopped);
await smtc.disableSmtc();
break;
case AudioPlaybackState.completed:
await smtc.setPlaybackStatus(PlaybackStatus.Changing);
await smtc.disableSmtc();
break;
default:
break;
Expand Down

0 comments on commit 7818574

Please sign in to comment.