Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Fix/15131 Quick actions are not reduced correctly in hibernation state #5169

Conversation

flxschmidt
Copy link
Contributor

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

Screenshot 2023-05-03 at 11 53 32

@flxschmidt flxschmidt added the bug Something isn't working label May 3, 2023
@flxschmidt flxschmidt added this to the v3.2.0 milestone May 3, 2023
@flxschmidt flxschmidt requested a review from a team May 3, 2023 09:54
@flxschmidt flxschmidt changed the title Fix/15131 quick actions are not reduced correctly in hib… Fix/15131 Quick actions are not reduced correctly in hibernation state May 3, 2023
Copy link
Contributor

@puneetmahali1 puneetmahali1 left a 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 {
Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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?

@flxschmidt flxschmidt merged commit f1c17b1 into release/3.2.x May 3, 2023
@flxschmidt flxschmidt deleted the fix/15131-quick-actions-are-not-reduced-correctly-in-hibernation-state branch May 3, 2023 12:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants