Ahh - yes, E.showPrompt has to remove your layout's input handlers so they don't get called when you tap on the screen.
To re-add them, I think it should be fine to just do layout.setUI();layout.render(); although I think if you're using 'lazy' rendering you might need a layout.forgetLazyState() before layout.render();
Just FYI you only need to call Bangle.loadWidgets(); once at the start of your app - once they're loaded they don't need re-loading.
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.
Ahh - yes,
E.showPrompt
has to remove your layout's input handlers so they don't get called when you tap on the screen.To re-add them, I think it should be fine to just do
layout.setUI();layout.render();
although I think if you're using 'lazy' rendering you might need alayout.forgetLazyState()
beforelayout.render();
Just FYI you only need to call
Bangle.loadWidgets();
once at the start of your app - once they're loaded they don't need re-loading.