1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-03 20:32:07 -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 bbedward
parent a69cd515fb
commit 4f4745609b

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)