gbmusic: fix "previous" button image

pull/930/head
Richard de Boer 2021-11-22 13:18:01 +01:00
parent f4e997d476
commit 46383d4d55
3 changed files with 3 additions and 2 deletions

View File

@ -3649,7 +3649,7 @@
"id": "gbmusic", "id": "gbmusic",
"name": "Gadgetbridge Music Controls", "name": "Gadgetbridge Music Controls",
"shortName": "Music Controls", "shortName": "Music Controls",
"version": "0.06", "version": "0.07",
"description": "Control the music on your Gadgetbridge-connected phone", "description": "Control the music on your Gadgetbridge-connected phone",
"icon": "icon.png", "icon": "icon.png",
"screenshots": [{"url":"screenshot_v1.png"},{"url":"screenshot_v2.png"}], "screenshots": [{"url":"screenshot_v1.png"},{"url":"screenshot_v2.png"}],

View File

@ -4,3 +4,4 @@
0.04: Setting to disable touch controls, minor bugfix 0.04: Setting to disable touch controls, minor bugfix
0.05: Setting to disable double/triple press control, remove touch controls setting, reduce fadeout flicker 0.05: Setting to disable double/triple press control, remove touch controls setting, reduce fadeout flicker
0.06: Bangle.js 2 support 0.06: Bangle.js 2 support
0.07: Fix "previous" button image

View File

@ -303,7 +303,7 @@ function drawControls() {
l.up.col = cc("volumeup" in tCommand); l.up.col = cc("volumeup" in tCommand);
l.down.col = cc("volumedown" in tCommand); l.down.col = cc("volumedown" in tCommand);
} }
l.prev.icon = (stat==="play") ? "pause" : "prev"; l.prev.icon = (stat==="play") ? "pause" : "previous";
l.prev.col = cc("prev" in tCommand || "pause" in tCommand); l.prev.col = cc("prev" in tCommand || "pause" in tCommand);
l.next.icon = (stat==="play") ? "next" : "play"; l.next.icon = (stat==="play") ? "next" : "play";
l.next.col = cc("next" in tCommand || "play" in tCommand); l.next.col = cc("next" in tCommand || "play" in tCommand);