fix: some bugs in configs and fix core bugs
This commit is contained in:
@@ -1 +1 @@
|
||||
core.version=2.0.2
|
||||
core.version=2.0.3
|
||||
@@ -45,19 +45,19 @@ abstract class ConfigOptions {
|
||||
|
||||
static final resolveDestination = PreferencesNotifier.create<bool, bool>(
|
||||
"resolve-destination",
|
||||
true,
|
||||
false,
|
||||
);
|
||||
|
||||
static final ipv6Mode = PreferencesNotifier.create<IPv6Mode, String>(
|
||||
"ipv6-mode",
|
||||
IPv6Mode.enable,
|
||||
IPv6Mode.disable,
|
||||
mapFrom: (value) => IPv6Mode.values.firstWhere((e) => e.key == value),
|
||||
mapTo: (value) => value.key,
|
||||
);
|
||||
|
||||
static final remoteDnsAddress = PreferencesNotifier.create<String, String>(
|
||||
"remote-dns-address",
|
||||
"udp://1.1.1.1",
|
||||
"https://sky.rethinkdns.com/dns-query",
|
||||
validator: (value) => value.isNotBlank,
|
||||
);
|
||||
|
||||
|
||||
2
libcore
2
libcore
Submodule libcore updated: d52ac5854b...3305cf7d8d
Reference in New Issue
Block a user