Remove unnecessary config options

This commit is contained in:
problematicconsumer
2023-09-02 21:12:04 +03:30
parent b06ae63486
commit 9a0728371e

View File

@@ -133,6 +133,7 @@ class ConfigOptionsPage extends HookConsumerWidget {
),
const SettingsDivider(),
SettingsSection(t.settings.config.section.inbound),
if (PlatformUtils.isDesktop) ...[
SwitchListTile(
title: Text(t.settings.config.enableTun),
value: options.enableTun,
@@ -143,6 +144,7 @@ class ConfigOptionsPage extends HookConsumerWidget {
value: options.setSystemProxy,
onChanged: ref.read(setSystemProxyStore.notifier).update,
),
],
ListTile(
title: Text(t.settings.config.mixedPort),
subtitle: Text(options.mixedPort.toString()),