mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Fixed issues encryption config
This commit is contained in:
parent
fff50604a6
commit
a334fdd883
4 changed files with 74 additions and 53 deletions
|
@ -52,8 +52,8 @@ String? validatePath(BuildContext context, String cert) {
|
|||
}
|
||||
}
|
||||
|
||||
Widget generateStatus(BuildContext context, AppConfigProvider appConfigProvider, bool localValidation, int dataValidApi) {
|
||||
if (localValidation == true) {
|
||||
Widget generateStatus(BuildContext context, AppConfigProvider appConfigProvider, bool localValidation, int dataValidApi, bool formEdited) {
|
||||
if (localValidation == true || formEdited == false) {
|
||||
if (dataValidApi == 0) {
|
||||
return const SizedBox(
|
||||
height: 25,
|
||||
|
@ -85,7 +85,7 @@ Widget generateStatus(BuildContext context, AppConfigProvider appConfigProvider,
|
|||
}
|
||||
else {
|
||||
return const Icon(
|
||||
Icons.error_rounded,
|
||||
Icons.error_outline,
|
||||
color: Colors.grey,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue