Move chain section and rename routeOptions to routingOptions

This commit is contained in:
veto9292 2026-05-18 00:22:05 +03:30
parent f9c0e95e8e
commit add4d5f7e6

View File

@ -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(