Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
48da8651
Commit
48da8651
authored
Nov 21, 2021
by
Volker Krause
Browse files
Don't color health certificates without a verified signature green
parent
084cddf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/HealthCertificateBarcode.qml
View file @
48da8651
...
...
@@ -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
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment