chg: default tun mode to gvisor

This commit is contained in:
hiddify-com
2024-08-06 23:26:03 -04:00
parent 974e47e91b
commit 1053f6636b

View File

@@ -106,7 +106,7 @@ abstract class ConfigOptions {
static final tunImplementation = PreferencesNotifier.create<TunImplementation, String>( static final tunImplementation = PreferencesNotifier.create<TunImplementation, String>(
"tun-implementation", "tun-implementation",
TunImplementation.mixed, TunImplementation.gvisor,
mapFrom: TunImplementation.values.byName, mapFrom: TunImplementation.values.byName,
mapTo: (value) => value.name, mapTo: (value) => value.name,
); );