From c0d702a8a73dca6c9a8db0bb2a6912e831c07543 Mon Sep 17 00:00:00 2001 From: Kaj Schittecat Date: Sat, 1 Aug 2026 10:15:26 +0200 Subject: [PATCH] touch: control-centre GPS tile long-press opens the GPS page, not Radio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stale CAT_RADIO from before the settings reorg gave GPS its own category — every other tile already pointed at its own page. All boards. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/ui-touch/UITask.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui-touch/UITask.cpp b/src/ui-touch/UITask.cpp index 6fda6d78..2a51c899 100644 --- a/src/ui-touch/UITask.cpp +++ b/src/ui-touch/UITask.cpp @@ -36520,7 +36520,9 @@ static void openControlCenter() { #if !CAP_GPS ccToggle(row, LV_SYMBOL_GPS, "GPS", false, ccGpsNoneCb, tw, th, -1); // no onboard GPS — info-only, untoggable #else - ccToggle(row, LV_SYMBOL_GPS, "GPS", gps_on, ccGpsCb, tw, th, CAT_RADIO); + // Long-press opens the GPS settings PAGE. CAT_RADIO here was a leftover from before the + // settings reorg gave GPS its own category (the GPS block used to live under radio/device). + ccToggle(row, LV_SYMBOL_GPS, "GPS", gps_on, ccGpsCb, tw, th, CAT_GPS); #endif ccToggle(row, LV_SYMBOL_TINT, "Theme", false, ccThemeCb, tw, th, CAT_DISPLAY); #if CAP_KEYBOARD