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