Skip to content

Commit

Permalink
Show CA error correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Dec 5, 2024
1 parent 3cea52a commit 4a3e286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/siteConfig/SiteConfigScreen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class _SiteConfigScreenState extends State<SiteConfigScreen> {
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) {
Expand Down

0 comments on commit 4a3e286

Please sign in to comment.