Add bypass lan option
This commit is contained in:
@@ -85,11 +85,12 @@ class ConfigOptionsPage extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
const SettingsDivider(),
|
const SettingsDivider(),
|
||||||
SettingsSection(t.settings.config.section.route),
|
SettingsSection(t.settings.config.section.route),
|
||||||
// SwitchListTile(
|
SwitchListTile(
|
||||||
// title: Text(t.settings.config.bypassLan),
|
title: Text(t.settings.config.bypassLan),
|
||||||
// value: options.bypassLan,
|
value: options.bypassLan,
|
||||||
// onChanged: ref.read(bypassLanStore.notifier).update,
|
onChanged: (value) async =>
|
||||||
// ),
|
changeOption(ConfigOptionPatch(bypassLan: value)),
|
||||||
|
),
|
||||||
SwitchListTile(
|
SwitchListTile(
|
||||||
title: Text(t.settings.config.resolveDestination),
|
title: Text(t.settings.config.resolveDestination),
|
||||||
value: options.resolveDestination,
|
value: options.resolveDestination,
|
||||||
@@ -173,11 +174,6 @@ class ConfigOptionsPage extends HookConsumerWidget {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
// SwitchListTile(
|
|
||||||
// title: Text(t.settings.config.enableFakeDns),
|
|
||||||
// value: options.enableFakeDns,
|
|
||||||
// onChanged: ref.read(enableFakeDnsStore.notifier).update,
|
|
||||||
// ),
|
|
||||||
const SettingsDivider(),
|
const SettingsDivider(),
|
||||||
SettingsSection(t.settings.config.section.inbound),
|
SettingsSection(t.settings.config.section.inbound),
|
||||||
ListTile(
|
ListTile(
|
||||||
|
|||||||
Reference in New Issue
Block a user