Update app.js after having stopped setUI in latest firmware from adding back icon

master
Gordon Williams 2025-04-01 11:26:18 +01:00 committed by GitHub
parent b26bcadad5
commit 1702b15b11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

View File

@ -85,13 +85,9 @@
if (lockTimeout) clearTimeout(lockTimeout); if (lockTimeout) clearTimeout(lockTimeout);
Bangle.removeListener("lock", lockHandler); Bangle.removeListener("lock", lockHandler);
// Restore widgets if they were hidden by fullscreen setting // Restore widgets if they were hidden by fullscreen setting
if (global.WIDGETS) require("widget_utils").show(); if (global.WIDGETS && settings.fullscreen) require("widget_utils").show();
} }
}); });
if (settings.fullscreen) {
require("widget_utils").hide();
scroller.draw(); // FIX: The red back button will flicker before the widget is hidden and scroller redrawn.
}
g.flip(); // force a render before widgets have finished drawing g.flip(); // force a render before widgets have finished drawing
// 10s of inactivity goes back to clock // 10s of inactivity goes back to clock