diff --git a/lib/screens/siteConfig/SiteConfigScreen.dart b/lib/screens/siteConfig/SiteConfigScreen.dart index 5c187ec..8e8a346 100644 --- a/lib/screens/siteConfig/SiteConfigScreen.dart +++ b/lib/screens/siteConfig/SiteConfigScreen.dart @@ -156,7 +156,7 @@ class _SiteConfigScreenState extends State { final certError = site.certInfo == null || site.certInfo!.validity == null || !site.certInfo!.validity!.valid; var caError = false; if (!site.managed) { - var caError = site.ca.length == 0; + caError = site.ca.length == 0; if (!caError) { site.ca.forEach((ca) { if (ca.validity == null || !ca.validity!.valid) {