Remove unnecessary line of code
This change doesn't change functionality of the app. But it does make it compatible with @rigrig's version of the messages app. I think it's something to do with asynchronous code - but I'm really not qualified to say.master
parent
b99371e278
commit
a7f4b83927
|
|
@ -1,7 +1,6 @@
|
|||
let showMusic = () => {
|
||||
Bangle.CLOCK = 1; // To pass condition in messages library
|
||||
require('messages').pushMessage({"t":"add","artist":" ","album":" ","track":" ","dur":0,"c":-1,"n":-1,"id":"music","title":"Music","state":"play","new":true});
|
||||
Bangle.CLOCK = undefined;
|
||||
};
|
||||
|
||||
var settings = require('Storage').readJSON('messages.settings.json', true) || {}; //read settings if they exist else set to empty dict
|
||||
|
|
|
|||
Loading…
Reference in New Issue