1
0
Fork 0

Try once at beginning of app

master
hopkira 2020-06-01 15:49:19 +01:00
parent fdbf4300ef
commit 39f62c1ab7
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,8 @@ bottom_btn = false;
msgNum = 0; // message number
NRF.setConnectionInterval(100)
Bangle.loadWidgets()
Bangle.drawWidgets()
/*
CONFIGURATION AREA - STATE VARIABLES
declare global variables for the toggle button
@ -314,7 +316,6 @@ const setMyWatch = (params) => {
machine = machine.events({object: params.label, status: startEnd(params.bool)});
drawScreen(machine.screen);
}, params.btn, {repeat:true, edge:"both"});
Bangle.drawWidgets();
};
/* object array used to set up the watching functions