Phase 5: delete last event with confirmation countdown

Two-step delete: navigate to "Letzten löschen", press START/STOP
to open confirmation, press again to start 2.5s red arc countdown.
BACK cancels at any point. Currently uses click-to-start instead
of press-and-hold due to simulator key event limitations.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
EiSiMo 2026-04-13 14:42:57 +02:00
parent 902121bd42
commit eea1a835cd
3 changed files with 118 additions and 1 deletions

View file

@ -33,7 +33,8 @@ class MenuDelegate extends WatchUi.BehaviorDelegate {
return true;
}
if (key.equals(Config.ACTION_DELETE)) {
// Phase 5
var view = new DeleteView();
WatchUi.pushView(view, new DeleteDelegate(view), WatchUi.SLIDE_LEFT);
return true;
}