Fixed build errors and actually added dependency
parent
333b957c74
commit
0b5f35e602
|
|
@ -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);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -37,5 +37,10 @@
|
||||||
{
|
{
|
||||||
"name": "infoclk.json"
|
"name": "infoclk.json"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
"dependencies": [
|
||||||
|
{
|
||||||
|
"weather": "app"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -161,7 +161,7 @@
|
||||||
name: appInfo.name,
|
name: appInfo.name,
|
||||||
val: appInfo.id
|
val: appInfo.id
|
||||||
});
|
});
|
||||||
};
|
}
|
||||||
|
|
||||||
E.showMenu({
|
E.showMenu({
|
||||||
'': {
|
'': {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue