Update app.js

Remove fonts when switching UI
master
stweedo 2023-05-07 01:15:28 -05:00 committed by GitHub
parent 00818886a6
commit 62a5be694c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ Graphics.prototype.setFontLondrinaSolid = function() {
remove: function() {
if (drawTimeout) clearTimeout(drawTimeout);
drawTimeout = undefined;
delete Graphics.prototype.setFontLondrinaSolid;
delete Graphics.prototype.setFontLondrinaShadow;
delete Graphics.prototype.setFontDotGothic16;
}
});
Bangle.loadWidgets();