Skip to content

Your phone, on your command. Gotcha is world's first fully on-device AI copilot for Android that turns natural language into real device actions — safely.

refactor: move Appearance near the end of the settings list

Durganshu Mishrac4739e765aaa
diff --git a/app/src/main/java/com/gotcha/ui/SettingsCommon.kt b/app/src/main/java/com/gotcha/ui/SettingsCommon.kt
index aea0a74..90c265a 100644
--- a/app/src/main/java/com/gotcha/ui/SettingsCommon.kt
+++ b/app/src/main/java/com/gotcha/ui/SettingsCommon.kt
@@ -55,12 +55,13 @@ import kotlinx.coroutines.delay
* [title] doubles as the row label on the home list and the sub-page's top-bar
* title, so the two can't drift apart.
*/
+/**
+ * Declaration order is the order of the home list; nothing reads the ordinal, so
+ * this is the only place the menu is arranged. What the assistant *is* comes
+ * first — who it thinks you are, which model it runs, what it may touch — and
+ * the two pages about how the app presents itself sit at the end.
+ */
enum class SettingsPage(val title: String, val summary: String, val testTag: String) {
- APPEARANCE(
- "Appearance",
- "How the app looks",
- "settings_appearance_row"
- ),
PERSONAL_INFO(
"Personal Info",
"Who you are, language, currency, reply style",
@@ -91,6 +92,11 @@ enum class SettingsPage(val title: String, val summary: String, val testTag: Str
"Offers, OTP detection, what may be scanned",
"settings_proactive_row"
),
+ APPEARANCE(
+ "Appearance",
+ "How the app looks",
+ "settings_appearance_row"
+ ),
NOTIFICATIONS(
"Notifications",
"How you're alerted when a reply arrives",