reset direct dns when region change
This commit is contained in:
@@ -146,6 +146,7 @@ class ConfigOptionsPage extends HookConsumerWidget {
|
||||
choices: Region.values,
|
||||
title: t.settings.general.region,
|
||||
presentChoice: (value) => value.present(t),
|
||||
onChanged: (val) => ref.watch(ConfigOptions.directDnsAddress.notifier).reset(),
|
||||
),
|
||||
SwitchListTile(
|
||||
title: Text(experimental(t.config.blockAds)),
|
||||
|
||||
Reference in New Issue
Block a user