From 9cd480aa9a094b133c9fb6c41c1fd728bab15a7e Mon Sep 17 00:00:00 2001 From: Juan Gilsanz Polo Date: Fri, 9 Feb 2024 01:48:32 +0100 Subject: [PATCH] Disable plain dns on general disabled --- lib/screens/settings/encryption/encryption.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/screens/settings/encryption/encryption.dart b/lib/screens/settings/encryption/encryption.dart index 3c678b8..4e48f6c 100644 --- a/lib/screens/settings/encryption/encryption.dart +++ b/lib/screens/settings/encryption/encryption.dart @@ -383,6 +383,7 @@ class _EncryptionSettingsState extends State { onChanged: (v) => setState(() => _plainDns = v), title: AppLocalizations.of(context)!.enablePlainDns, subtitle: AppLocalizations.of(context)!.enablePlainDnsDescription, + disabled: enabled == false, ), ], SectionLabel(