Added missing menu 'back' in timer

master
Danny 2022-01-07 21:14:40 +01:00
parent 53d7103272
commit 8d4820bd0a
2 changed files with 2 additions and 0 deletions

View File

@ -13,3 +13,4 @@
Widgets now shown on Alarm screen
0.13: Alarm widget state now updates when setting/resetting an alarm
0.14: Order of 'back' menu item
0.15: Added missing menu 'back' in timer

View File

@ -137,6 +137,7 @@ function editTimer(alarmIndex) {
}
const menu = {
'': { 'title': /*LANG*/'Timer' },
/*LANG*/'< Back' : showMainMenu,
/*LANG*/'Hours': {
value: hrs,
onchange: function(v){if (v<0)v=23;if (v>23)v=0;hrs=v;this.value=v;} // no arrow fn -> preserve 'this'