From 1adbdd7398d99fd87fd177820a6086f0bf33de5b Mon Sep 17 00:00:00 2001
From: ave <flow3r@ave.zone>
Date: Sun, 26 Nov 2023 18:45:31 +0000
Subject: [PATCH] settings: rename wifi on boot setting to always-on wifi

---
 CHANGELOG.md                    | 1 +
 python_payload/st3m/settings.py | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7cd042924e..03f4f3e9dc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
 ### Added
 
 ### Changed
+- settings: "Enable WiFi on Boot" option is now "Always-On Wi-Fi" (but is functionally identical), should help reduce confusion about Wi-Fi turning off automatically
 
 ### Fixed
 - updat3r: Improved version comparison logic, making the "you are up to date :)" logic work
diff --git a/python_payload/st3m/settings.py b/python_payload/st3m/settings.py
index 8a79056a89..611ea14afe 100644
--- a/python_payload/st3m/settings.py
+++ b/python_payload/st3m/settings.py
@@ -200,9 +200,9 @@ onoff_debug = OnOffTunable("Debug Overlay", "system.debug", False)
 onoff_debug_touch = OnOffTunable("Touch Overlay", "system.debug_touch", False)
 onoff_debug_ftop = OnOffTunable("Debug: ftop", "system.ftop_enabled", False)
 onoff_show_tray = OnOffTunable("Show Icons", "system.show_icons", True)
-onoff_wifi = OnOffTunable("Enable WiFi on Boot", "system.wifi.enabled", False)
+onoff_wifi = OnOffTunable("Always-On Wi-Fi", "system.wifi.enabled", False)
 onoff_wifi_preference = OnOffTunable(
-    "Let apps change WiFi", "system.wifi.allow_apps_to_change_wifi", True
+    "Let apps change Wi-Fi", "system.wifi.allow_apps_to_change_wifi", True
 )
 str_wifi_ssid = StringTunable("WiFi SSID", "system.wifi.ssid", None)
 str_wifi_psk = ObfuscatedStringTunable("WiFi Password", "system.wifi.psk", None)
-- 
GitLab