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

add savedLocale get method for context #675

Merged
merged 1 commit into from
May 4, 2024

Conversation

bbsmartc
Copy link
Contributor

@bbsmartc bbsmartc commented May 4, 2024

if context.savedLocale is null, then language option is following system, i can display the option in user selection form.

And after set to another locale by user selection, i use the following code to reset it to following system

                await context.resetLocale();
                context.deleteSaveLocale();

@bw-flagship bw-flagship merged commit 4518a9c into aissat:develop May 4, 2024
4 checks passed
This pull request was closed.
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.

2 participants