remove else

pull/3089/head
Mineinjava 2023-11-10 17:10:57 -08:00
parent 3de1b0653a
commit da33f3812f
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ E.on('notify',msg=>{
NRF.ancsAction(msg.uid, false);
return;
}
else if (msg.title&&E.decodeUTF8(msg.title, unicodeRemap, replacer) === "BangleDumpWeather") {
if (msg.title&&E.decodeUTF8(msg.title, unicodeRemap, replacer) === "BangleDumpWeather") {
const d = JSON.parse(msg.message);
/* Example:
{"temp":"291.07","hi":"293.02","lo":"288.18","hum":"49","rain":"0","uv":"0","wind":"1.54","code":"01d","txt":"Mostly Sunny","wdir":"303","loc":"Berlin"}