From a7f4b8392762e3b472a4f3591e855e8ef1e09f14 Mon Sep 17 00:00:00 2001 From: thyttan <97237430+thyttan@users.noreply.github.com> Date: Tue, 5 Jul 2022 18:38:41 +0200 Subject: [PATCH] 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. --- apps/messagesmusic/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/messagesmusic/app.js b/apps/messagesmusic/app.js index a6f7e075e..27f3f6e4d 100644 --- a/apps/messagesmusic/app.js +++ b/apps/messagesmusic/app.js @@ -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