enable resolve-destination and ipv6 by default
This commit is contained in:
@@ -45,12 +45,12 @@ abstract class ConfigOptions {
|
|||||||
|
|
||||||
static final resolveDestination = PreferencesNotifier.create<bool, bool>(
|
static final resolveDestination = PreferencesNotifier.create<bool, bool>(
|
||||||
"resolve-destination",
|
"resolve-destination",
|
||||||
false,
|
true,
|
||||||
);
|
);
|
||||||
|
|
||||||
static final ipv6Mode = PreferencesNotifier.create<IPv6Mode, String>(
|
static final ipv6Mode = PreferencesNotifier.create<IPv6Mode, String>(
|
||||||
"ipv6-mode",
|
"ipv6-mode",
|
||||||
IPv6Mode.disable,
|
IPv6Mode.enable,
|
||||||
mapFrom: (value) => IPv6Mode.values.firstWhere((e) => e.key == value),
|
mapFrom: (value) => IPv6Mode.values.firstWhere((e) => e.key == value),
|
||||||
mapTo: (value) => value.key,
|
mapTo: (value) => value.key,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user