mirror of
https://github.com/hiddify/hiddify-next.git
synced 2026-06-05 21:05:07 +08:00
Move chain section and rename routeOptions to routingOptions
This commit is contained in:
parent
f9c0e95e8e
commit
add4d5f7e6
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user