use widget_utils slideOn - needs further work

pull/2334/head
thyttan 2022-11-30 21:45:57 +01:00
parent 95c5fd8bcf
commit c4cbac0898
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@
g.setColor(settings.bg);
g.fillRect(0,0,g.getWidth(),g.getHeight());
// if Fastload Utils is installed, make Torch compatible with it.
if (s.readJSON('fastload.info') != undefined) Bangle.loadWidgets();
if (s.readJSON('fastload.info') != undefined) {
Bangle.loadWidgets();
require('widget_utils').swipeOn();
}
Bangle.setUI({
mode : 'custom',
back : Bangle.showClock, // B2: SW back button to exit