summaryrefslogtreecommitdiff
path: root/source/ui/MainMenu.mc
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-20 01:51:05 +0200
committercirakg <cirakg@cirakg.xyz>2026-10-20 01:51:05 +0200
commitd537f4e154a40075405b0ab2fed14fbe2eeaac81 (patch)
treef1fb9b148871901dda96fca11401d6f4d0ee1d59 /source/ui/MainMenu.mc
parent40d9a1d5c3e85486aea964c1446402a3be6ec05a (diff)
feat(settings): apply the Import form from the phone and show results
Import group in the app settings; the processor runs after the first frame and on settings changes, clears the fields, writes the status, remembers form hashes and opens the results screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'source/ui/MainMenu.mc')
-rw-r--r--source/ui/MainMenu.mc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/ui/MainMenu.mc b/source/ui/MainMenu.mc
index b827784..3d13180 100644
--- a/source/ui/MainMenu.mc
+++ b/source/ui/MainMenu.mc
@@ -117,9 +117,9 @@ class MainMenuDelegate extends WatchUi.Menu2InputDelegate {
WatchUi.pushView(new WatchUi.Confirmation("Erase locked entries and set a new PIN?"), new ResetPinConfirmation(),
WatchUi.SLIDE_LEFT);
} else if (id == :results) {
- WatchUi.switchToView(new InfoView("Settings results",
- ["Nothing yet. Results appear here after you add or change entries in the phone settings."], "results"),
- new InfoDelegate(), WatchUi.SLIDE_LEFT);
+ WatchUi.switchToView(new InfoView("Results", Results.lines(), "results"), new InfoDelegate(),
+ WatchUi.SLIDE_LEFT);
+ Results.markSeen();
} else if (id == :ids) {
WatchUi.switchToView(new InfoView("Entry IDs", MainMenu.entryIdLines(), "ids"), new InfoDelegate(), WatchUi.SLIDE_LEFT);
} else if (id == :clock) {