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
thyttan 2022-07-05 18:38:41 +02:00 committed by GitHub
parent b99371e278
commit a7f4b83927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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