mirror of https://github.com/espruino/BangleApps
ClockFace_menu: remove old options exports
parent
994d9f2a08
commit
aded08293f
|
@ -24,14 +24,3 @@ exports.addItems = function(menu, callback, items) {
|
|||
}
|
||||
});
|
||||
};
|
||||
|
||||
// legacy boolean options
|
||||
exports.showDate =
|
||||
exports.loadWidgets =
|
||||
function(value, callback) {
|
||||
if (value === undefined) value = true;
|
||||
return {
|
||||
value: !!value,
|
||||
onchange: v=>callback(v),
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue