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 Language of Appearance Title #1378

Merged

Conversation

codeall9
Copy link
Contributor

Fixes #1346

Root cause:

_prefTitle is saved in the bundle as CharSequence

Solution:

we only able to store CharSequence since Preference.getTitleRes is removed in AndroidX.

As a workaround, we update the title again on Fragment.onStart()

Demo

Screen_recording_20240512_165248.mp4

root cause:
the `_prefTitle` is saved in `CharSequence`

solution:
we only able to store `CharSequence` since `Preference.getTitleRes` is removed in AndroidX. As a workaround, we update the title again on Fragment.onStart()
@codeall9 codeall9 changed the title Fix AppearancePreferencesFragment title after locale changed Fix Language of Appearance Title May 12, 2024
Copy link
Member

@alexbakker alexbakker left a comment

Choose a reason for hiding this comment

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

Thanks!

@alexbakker alexbakker merged commit c28548d into beemdevelopment:master May 17, 2024
@codeall9 codeall9 deleted the bug/setting-appearance-title branch May 18, 2024 07:54
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.

Language of Appearance Menu Title
2 participants