if you need to specify something best to just stick a sortorder in apps.json
I think you want to put it in the widget code instead: the apps.json affects the order in the App Loader page, but loadWidgets() looks at the widget.
apps.json
loadWidgets()
So something like
WIDGETS["lock"]={area:"tl",sortorder:-1,width:Bangle.isLocked()?16:0,...
@rigrig started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think you want to put it in the widget code instead: the
apps.json
affects the order in the App Loader page, butloadWidgets()
looks at the widget.So something like