mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-02 19:44:26 +00:00
Improvements
This commit is contained in:
parent
b164d520db
commit
33611cb895
1 changed files with 2 additions and 2 deletions
|
@ -82,10 +82,10 @@ class _EncryptionSettingsState extends State<EncryptionSettings> {
|
|||
|
||||
final result = await Provider.of<ServersProvider>(context, listen: false).apiClient2!.getEncryptionSettings();
|
||||
if (!mounted) return;
|
||||
|
||||
final data = result.content as EncryptionData;
|
||||
|
||||
if (result.successful == true) {
|
||||
final data = result.content as EncryptionData;
|
||||
|
||||
await checkValidDataApi(data: data.toJson());
|
||||
if (!mounted) return;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue