Skip to content

Commit

Permalink
enable resolve-destination and ipv6 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Jul 27, 2024
1 parent 6dfde70 commit 23eb7bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/features/config_option/data/config_option_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ abstract class ConfigOptions {

static final resolveDestination = PreferencesNotifier.create<bool, bool>(
"resolve-destination",
false,
true,
);

static final ipv6Mode = PreferencesNotifier.create<IPv6Mode, String>(
"ipv6-mode",
IPv6Mode.disable,
IPv6Mode.enable,
mapFrom: (value) => IPv6Mode.values.firstWhere((e) => e.key == value),
mapTo: (value) => value.key,
);
Expand Down

0 comments on commit 23eb7bd

Please sign in to comment.