-
Notifications
You must be signed in to change notification settings - Fork 283
Fix/15131 Quick actions are not reduced correctly in hibernation state #5169
Fix/15131 Quick actions are not reduced correctly in hibernation state #5169
Conversation
src/xcode/ENA/ENA/Source/AppDelegate & Globals/AppDelegate+QuickActions.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -108,7 +108,13 @@ final class HealthCertificateCoordinator { | |||
private var validationCoordinator: HealthCertificateValidationCoordinator? | |||
|
|||
private var infoScreenShown: Bool { | |||
get { store.healthCertificateInfoScreenShown } | |||
get { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the usage of this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question!
The usage is, that the info screen has texts like "Add certificates" and that would be not a use case in hibernation, because we only show certificates. Thatswhy I change the getter for hibernation and skip the info screen at this point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that's a first (and maybe the only) move reg. corona-warn-app/cwa-documentation#950?
…ckActions.swift Co-authored-by: Puneet Mahali <[email protected]>
Description
The quick actions "QR-Codes sannen" & "Check-ins anzeigen" should not be shown in hibernation state.
Link to Jira
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-15131
Screenshots