pull/3430/head
Gordon Williams 2024-05-21 11:41:55 +01:00
parent ae75c00ba1
commit cb4d14e6b0
1 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ Graphics.prototype.setFontAudiowide = function() {
};
// Show launcher when middle button pressed
Bangle.setUI({mode:"clock", remove:function() { //f ree memory
Bangle.setUI({mode:"clock", remove:function() { // free memory
if (drawTimeout) clearTimeout(drawTimeout);
if (widgetTimeout) clearTimeout(widgetTimeout);
require("widget_utils").show();
@ -64,7 +64,7 @@ Graphics.prototype.setFontAudiowide = function() {
g.reset().clearRect(e.x,e.y,e.x+63,e.y+23);
delete WIDGETS["patriot"];
delete Graphics.prototype.setFontAudiowide;
}});
}});
// Load widgets (make them swipeable)
Bangle.loadWidgets();
WIDGETS["patriot"] = {
@ -85,5 +85,5 @@ Graphics.prototype.setFontAudiowide = function() {
// Clear the screen once, at startup
g.clear();
// draw immediately at first, queue update
draw();
draw();
}