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(mobile): fixes on language change #14089

Merged
merged 5 commits into from
Nov 19, 2024

Commits on Nov 11, 2024

  1. fix(mobile): make widgets rebuild on locale changes

    This will make the make the pages to instantly refresh the correct
    translated string, without the need to pop and push the settings page.
    johnstef99 committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    c75fe55 View commit details
    Browse the repository at this point in the history
  2. fix(mobile): set the default intl locale

    This is needed because across the app, you don't pass the context.locale
    to DateFormat, so by default it uses the system's locale. This will fix
    the issue without the need to refactor a lot of code.
    johnstef99 committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    2936b5e View commit details
    Browse the repository at this point in the history
  3. feat(mobile): create localeProvider

    This provider can be used to refresh providers that provide UI elements
    and get cached.
    johnstef99 committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    9653354 View commit details
    Browse the repository at this point in the history
  4. fix(mobile): refresh asset providers on locale change

    This is necessary to update the locale on the already evaluated
    DateFormat.
    johnstef99 committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    5fe2531 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Configuration menu
    Copy the full SHA
    87e3b69 View commit details
    Browse the repository at this point in the history