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

fix: Set environment values for every child view in CustomerCenter #4704

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

facumenzella
Copy link
Contributor

@facumenzella facumenzella commented Jan 24, 2025

Motivation

This PR addresses a bug where environment values, such as localizations, were not propagating to child views.

The bug occurs when the navigation stack or navigation view is provided by the client app instead of the one managed by the customer center. To resolve this, the environment must be applied directly to the container view, allowing it to cascade properly to all child views.

@facumenzella facumenzella requested a review from a team January 24, 2025 18:33
@facumenzella facumenzella changed the title fix: Set environment values for every child view fix: [DO NOT MERGE] Set environment values for every child view Jan 24, 2025
@facumenzella facumenzella changed the title fix: [DO NOT MERGE] Set environment values for every child view fix: Set environment values for every child view Jan 26, 2025
Copy link
Contributor

@vegaro vegaro left a comment

Choose a reason for hiding this comment

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

I think this makes sense!

@facumenzella facumenzella changed the title fix: Set environment values for every child view fix: Set environment values for every child view in CustomerCenter Jan 27, 2025
@facumenzella facumenzella merged commit 5570448 into main Jan 27, 2025
9 of 10 checks passed
@facumenzella facumenzella deleted the fix/set-env-purchasehistory branch January 27, 2025 09:29
This was referenced Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants