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: prevent language settings causing api errors #96

Merged
merged 1 commit into from
Jun 17, 2023

Conversation

lukeleppan
Copy link
Contributor

Fixes a small issue I encountered, when changing the language varieties and then changing the static language option. This causes api errors since language must be set to 'auto' in order to change the preferred language.

To fix this issue I just modified the static language setting to mimic the behaviour of the language varieties (when the varieties are modified to anything else besides default, the static language setting is set to auto). So in the same way, when the static language setting is changed it resets all the language varieties to undefined.

Modified only src/SettingsTab.ts.

@Clemens-E
Copy link
Owner

Thank you!

@Clemens-E Clemens-E merged commit b6269e7 into Clemens-E:master Jun 17, 2023
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