This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Fix late locale initialization on iOS #831
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please follow this checklist. Please check each appropriate box (put an 'x' or check it after creating the PR).
After all boxes above are checked, request and receive an Approved review from any team member knowledgable in the area (TODO team member list). Once approved, the team member will assign your review to a Committer or use the
needs-mergelabel.What does this PR accomplish?
Fixes #776 by setting the locale as soon as the app launches. There is a bug currently in Flutter that will be fixed by flutter/engine#17473, but that will take some time to roll through dev/beta/stable. In the mean time, this fix is safe and will cooperate fine even once the issue is fixed upstream. Once flutter/engine#17473 has rolled into the SDK used by this application, the code added here is safe to remove.
Did you add any dependencies?
No
How did you test the change?
Manually.