Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reanimate FC consent dots view on app foreground #3720

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mats-stripe
Copy link
Collaborator

Summary

This fixes an issue where the consent logo view dots animation would be stopped and not restarted when the app was backgrounded, then returned to the foreground.

Motivation

Testing

Verified the animation properly continues after the app is foregrounded:

Screen.Recording.2024-06-27.at.1.21.11.PM.mov

Changelog

N/a

@mats-stripe mats-stripe requested review from a team as code owners June 27, 2024 17:28
@mats-stripe mats-stripe force-pushed the mats/reanimate_consent_view_on_foreground branch from f284125 to b1ecd4e Compare June 27, 2024 17:32
)
}

@objc private func appWillEnterForeground() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the straightforward naming! UIApplication.willEnterForegroundNotification > appWillEnterForeground is easy to understand (vs. naming it something more-specific like "reactiveDots" or else)

kgaidis-stripe
kgaidis-stripe previously approved these changes Jun 27, 2024
@kgaidis-stripe
Copy link
Contributor

marking this as done: https://jira.corp.stripe.com/browse/BANKCON-10932

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants