Add bypass lan option

This commit is contained in:
problematicconsumer
2024-01-01 18:37:17 +03:30
parent d28d852faf
commit 7262ff89b7

View File

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