From 2247ee07bbfc5acfc4a1a7d1f174a94d28dc785e Mon Sep 17 00:00:00 2001 From: Alessandro Cocco Date: Tue, 7 Jun 2022 21:56:14 +0200 Subject: [PATCH] [Alarms & Timers] Restore "Cancel" in timer view Oooops --- apps/alarm/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/alarm/app.js b/apps/alarm/app.js index f39efc5fc..0a7bb8f24 100644 --- a/apps/alarm/app.js +++ b/apps/alarm/app.js @@ -280,7 +280,8 @@ function showEditTimerMenu(selectedTimer, timerIndex) { value: timer.on, onchange: v => timer.on = v }, - /*LANG*/"Vibrate": require("buzz_menu").pattern(timer.vibrate, v => timer.vibrate = v) + /*LANG*/"Vibrate": require("buzz_menu").pattern(timer.vibrate, v => timer.vibrate = v), + /*LANG*/"Cancel": () => showMainMenu() }; if (!isNew) {