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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user