From 178b4cd618a5844216e889b270e3eba45262e93d Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sat, 4 Apr 2026 00:14:30 +0700 Subject: [PATCH] fix(app): reorder settings sections for better grouping --- packages/app/src/screens/settings-screen.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/app/src/screens/settings-screen.tsx b/packages/app/src/screens/settings-screen.tsx index c2e8235f6..5dc28a0b6 100644 --- a/packages/app/src/screens/settings-screen.tsx +++ b/packages/app/src/screens/settings-screen.tsx @@ -85,17 +85,20 @@ function getSettingsSections(context: { isDesktopApp: boolean }): SettingsSectio { id: "hosts", label: "Hosts", icon: Server }, { id: "appearance", label: "Appearance", icon: Palette }, { id: "shortcuts", label: "Shortcuts", icon: Keyboard }, - { id: "diagnostics", label: "Diagnostics", icon: Stethoscope }, - { id: "about", label: "About", icon: Info }, ]; if (context.isDesktopApp) { sections.push( - { id: "permissions", label: "Permissions", icon: Shield }, { id: "daemon", label: "Daemon", icon: Settings }, + { id: "permissions", label: "Permissions", icon: Shield }, ); } + sections.push( + { id: "diagnostics", label: "Diagnostics", icon: Stethoscope }, + { id: "about", label: "About", icon: Info }, + ); + return sections; }