From add4d5f7e6fa41e4c708aa44e332040875f5e220 Mon Sep 17 00:00:00 2001 From: veto9292 Date: Mon, 18 May 2026 00:22:05 +0330 Subject: [PATCH] Move chain section and rename routeOptions to routingOptions --- .../settings/overview/settings_page.dart | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/features/settings/overview/settings_page.dart b/lib/features/settings/overview/settings_page.dart index 95c26a6b..7ff1f32f 100644 --- a/lib/features/settings/overview/settings_page.dart +++ b/lib/features/settings/overview/settings_page.dart @@ -147,10 +147,17 @@ class SettingsPage extends HookConsumerWidget { icon: Icons.layers_rounded, namedLocation: context.namedLocation('general'), ), + if (ref.watch(hasAnyProfileProvider).value ?? false) + SettingsSection( + title: t.pages.settings.chain.title, + icon: Icons.webhook_rounded, + subtitle: Text(t.pages.settings.chain.subtitle), + namedLocation: context.namedLocation('chainOptions'), + ), SettingsSection( title: t.pages.settings.routing.title, icon: Icons.route_rounded, - namedLocation: context.namedLocation('routeOptions'), + namedLocation: context.namedLocation('routingOptions'), ), SettingsSection( title: t.pages.settings.dns.title, @@ -167,13 +174,6 @@ class SettingsPage extends HookConsumerWidget { icon: Icons.content_cut_rounded, namedLocation: context.namedLocation('tlsTricks'), ), - if (ref.watch(hasAnyProfileProvider).value ?? false) - SettingsSection( - title: t.pages.settings.chain.title, - icon: Icons.webhook_rounded, - subtitle: Text(t.pages.settings.chain.subtitle), - namedLocation: context.namedLocation('chainOptions'), - ), if (PlatformUtils.isIOS) Material( child: ListTile(