Fixed build errors and actually added dependency

master
Bruce Blore 2023-05-12 16:50:37 -07:00
parent 333b957c74
commit 0b5f35e602
3 changed files with 10 additions and 5 deletions

View File

@ -419,10 +419,6 @@
}; };
Bangle.on('lock', onLock); Bangle.on('lock', onLock);
// Load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();
// Launch an app given the current ID. Handles special cases: // Launch an app given the current ID. Handles special cases:
// false: Do nothing // false: Do nothing
// '#LAUNCHER': Open the launcher // '#LAUNCHER': Open the launcher
@ -512,6 +508,10 @@
} }
}); });
// Load widgets
Bangle.loadWidgets();
Bangle.drawWidgets();
drawLockedSeconds(true); drawLockedSeconds(true);
} }

View File

@ -37,5 +37,10 @@
{ {
"name": "infoclk.json" "name": "infoclk.json"
} }
],
"dependencies": [
{
"weather": "app"
}
] ]
} }

View File

@ -161,7 +161,7 @@
name: appInfo.name, name: appInfo.name,
val: appInfo.id val: appInfo.id
}); });
}; }
E.showMenu({ E.showMenu({
'': { '': {