Highlight default clock if none currently selected
parent
c89ad11d69
commit
dc2013751a
|
|
@ -187,9 +187,9 @@ function showClockMenu() {
|
|||
},
|
||||
'< Back': showMainMenu,
|
||||
};
|
||||
clockApps.forEach(app => {
|
||||
clockApps.forEach((app,index) => {
|
||||
var label = app.name;
|
||||
if (settings.clock === app.src) {
|
||||
if ((!settings.clock && index === 0) || (settings.clock === app.src)) {
|
||||
label = "* "+label;
|
||||
}
|
||||
clockMenu[label] = () => {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue