Commit 48da8651 authored by Volker Krause's avatar Volker Krause
Browse files

Don't color health certificates without a verified signature green

parent 084cddf1
......@@ -102,7 +102,8 @@ QQC2.Page {
return Kirigami.Theme.negativeTextColor;
switch (certificate.validationState) {
case KHC.HealthCertificate.Valid: return Kirigami.Theme.positiveTextColor;
case KHC.HealthCertificate.Valid:
return certificate.signatureState == KHC.HealthCertificate.UncheckedSignature ? 'transparent' : Kirigami.Theme.positiveTextColor;
case KHC.HealthCertificate.Partial: return Kirigami.Theme.neutralTextColor;
case KHC.HealthCertificate.Invalid: return Kirigami.Theme.negativeTextColor;
default: return "transparent"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment