1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

fix(osd): play/pause icon flipped in MediaPlaybackOSD (#1889)

This commit is contained in:
Triệu Kha
2026-03-03 10:01:08 +07:00
committed by GitHub
parent 7d1519f546
commit 16e8199f9e

View File

@@ -27,11 +27,11 @@ DankOSD {
let icon = "music_note";
switch (player.playbackState) {
case MprisPlaybackState.Playing:
icon = "play_arrow";
icon = "pause";
break;
case MprisPlaybackState.Paused:
case MprisPlaybackState.Stopped:
icon = "pause";
icon = "play_arrow";
break;
}
if (icon === _displayIcon)