Fix music notifications

pull/155/head
Simon Weis 2020-03-28 13:30:13 +01:00
parent b7b5d6764b
commit 33a88627d9
1 changed files with 4 additions and 4 deletions

View File

@ -153,10 +153,10 @@
if (state.music == gb.musicState.PLAY) {
var content = {
title: "Now playing",
title: state.musicInfo.artist,
icon: "gbridge-music-ico.img",
header: state.musicInfo.artist,
body: state.musicInfo.track
header: state.musicInfo.track,
body:""
};
notification.show(40, content);
@ -194,7 +194,7 @@
state.musicInfo = event;
break;
case "musicstate":
state.musicInfo = event.state;
state.music = event.state;
updateMusicInfo();
break;
case "call":