From 9f9573d2eb6f5a9152072728aaee055940188b2c Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sat, 12 Dec 2020 19:18:51 -0800 Subject: [PATCH] #560 - Add note that we're in admin mode on network screen --- src/graphics/Screen.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/graphics/Screen.cpp b/src/graphics/Screen.cpp index 71cad3908..bc43ae853 100644 --- a/src/graphics/Screen.cpp +++ b/src/graphics/Screen.cpp @@ -984,7 +984,9 @@ void DebugInfo::drawFrameWiFi(OLEDDisplay *display, OLEDDisplayUiState *state, i // The coordinates define the left starting point of the text display->setTextAlignment(TEXT_ALIGN_LEFT); - if (radioConfig.preferences.wifi_ap_mode || isSoftAPForced()) { + if (isSoftAPForced()) { + display->drawString(x, y, String("WiFi: Software AP (Admin)")); + } else if (radioConfig.preferences.wifi_ap_mode) { display->drawString(x, y, String("WiFi: Software AP")); } else if (WiFi.status() != WL_CONNECTED) { display->drawString(x, y, String("WiFi: Not Connected"));