new: add tproxy

This commit is contained in:
Hiddify
2024-03-19 11:56:19 +01:00
parent f8976da06d
commit 54ecabf572
4 changed files with 18 additions and 1 deletions

View File

@@ -266,6 +266,14 @@ class ConfigOptionsPage extends HookConsumerWidget {
digitsOnly: true,
validateInput: isPort,
),
ValuePreferenceWidget(
value: ref.watch(ConfigOptions.tproxyPort),
preferences: ref.watch(ConfigOptions.tproxyPort.notifier),
title: t.config.tproxyPort,
inputToValue: int.tryParse,
digitsOnly: true,
validateInput: isPort,
),
ValuePreferenceWidget(
value: ref.watch(ConfigOptions.localDnsPort),
preferences: ref.watch(ConfigOptions.localDnsPort.notifier),