Skip to content

fix(preferences): prevent dialog popup on language change#173

Merged
tzebrowski merged 2 commits into
masterfrom
feat/prevent-dialog-on-language-change
Jun 24, 2026
Merged

fix(preferences): prevent dialog popup on language change#173
tzebrowski merged 2 commits into
masterfrom
feat/prevent-dialog-on-language-change

Conversation

@tzebrowski

Copy link
Copy Markdown
Owner

Added a check for savedInstanceState in onCreatePreferences to ensure openPreferenceDialogFor() is only called on the initial creation. This prevents dialogs from unexpectedly reopening when the Activity is recreated, such as when changing the app language.

Added a check for savedInstanceState in onCreatePreferences to ensure
openPreferenceDialogFor() is only called on the initial creation.
This prevents dialogs from unexpectedly reopening when the Activity
is recreated, such as when changing the app language.
@tzebrowski tzebrowski merged commit 7ded082 into master Jun 24, 2026
2 checks passed
@tzebrowski tzebrowski deleted the feat/prevent-dialog-on-language-change branch June 29, 2026 15:45
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.

1 participant