Save changes to date, not just time, when tapping Confirm on the event edit menu

master
Travis Evans 2023-07-29 19:20:36 -05:00
parent ddc9ac34b1
commit b345b1f9b5
3 changed files with 3 additions and 2 deletions

View File

@ -44,3 +44,4 @@
0.39: Dated event repeat option 0.39: Dated event repeat option
0.40: Use substring of message when it's longer than fits the designated menu entry. 0.40: Use substring of message when it's longer than fits the designated menu entry.
0.41: Fix a menu bug affecting alarms with empty messages. 0.41: Fix a menu bug affecting alarms with empty messages.
0.42: Fix date not getting saved in event edit menu when tapping Confirm

View File

@ -190,7 +190,7 @@ function showEditAlarmMenu(selectedAlarm, alarmIndex, withDate) {
}, },
/*LANG*/"Cancel": () => showMainMenu(), /*LANG*/"Cancel": () => showMainMenu(),
/*LANG*/"Confirm": () => { /*LANG*/"Confirm": () => {
prepareAlarmForSave(alarm, alarmIndex, time); prepareAlarmForSave(alarm, alarmIndex, time, date);
saveAndReload(); saveAndReload();
showMainMenu(); showMainMenu();
} }

View File

@ -2,7 +2,7 @@
"id": "alarm", "id": "alarm",
"name": "Alarms & Timers", "name": "Alarms & Timers",
"shortName": "Alarms", "shortName": "Alarms",
"version": "0.41", "version": "0.42",
"description": "Set alarms and timers on your Bangle", "description": "Set alarms and timers on your Bangle",
"icon": "app.png", "icon": "app.png",
"tags": "tool,alarm", "tags": "tool,alarm",