mirror of https://github.com/espruino/BangleApps
messagesoverlay - Fix linter warnings
parent
90a793b966
commit
89785c13f9
|
@ -10,3 +10,4 @@
|
|||
Indicator for multiple messages in queue
|
||||
Some optimization in the rendering code
|
||||
Track handler changes done by background code
|
||||
0.08: Fix linter warnings
|
||||
|
|
|
@ -517,7 +517,7 @@ const restoreHandlers = function(){
|
|||
}
|
||||
|
||||
if (backup.watches){
|
||||
toRemove = [];
|
||||
let toRemove = [];
|
||||
|
||||
origClearWatch.call(global);
|
||||
|
||||
|
@ -605,7 +605,6 @@ const cleanup = function(){
|
|||
|
||||
Bangle.setLCDOverlay();
|
||||
ovr = undefined;
|
||||
quiet = undefined;
|
||||
};
|
||||
|
||||
const backup = {};
|
||||
|
@ -671,7 +670,7 @@ exports.message = function(type, event) {
|
|||
if(event.messagesoverlayignore) return;
|
||||
|
||||
let free = process.memory().free;
|
||||
bpp = settings.systemTheme ? 16 : 4;
|
||||
let bpp = settings.systemTheme ? 16 : 4;
|
||||
|
||||
let estimatedMemUse = bpp == 16 ? 4096 : (bpp == 4 ? 1536 : 768);
|
||||
// reduce estimation if ovr already exists and uses memory;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "messagesoverlay",
|
||||
"name": "Messages Overlay",
|
||||
"version": "0.07",
|
||||
"version": "0.08",
|
||||
"description": "An overlay based implementation of a messages UI (display notifications from iOS and Gadgetbridge/Android)",
|
||||
"icon": "app.png",
|
||||
"type": "bootloader",
|
||||
|
|
Loading…
Reference in New Issue