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

Fixed #88 and removed unnecessary preference #89

Merged
merged 6 commits into from
Jan 23, 2024
Merged

Fixed #88 and removed unnecessary preference #89

merged 6 commits into from
Jan 23, 2024

Conversation

p-davide
Copy link
Contributor

This fixes some crashes caused by the fact that multiple languages were concatenated as strings (eg "eng+ita") and sent to functions that treated the string as a single language.
These functions now take a Set<Language>.

The ListPreference for a single language has also been removed, since you can just pick a single one from the multi-select one.

This fixes some crashes caused by the fact that multiple languages were concatenated as strings (eg "eng+ita") and sent to functions that treated the string as a single language.
These functions now take a `Set<Language>`.
The first commit tried to download null language the first time the app was run, and language download dialogs appeared again and again.

Also clarified some method names and inserted `@NonNull` where needed.
Languages are now handled correctly for shared images.
There is no reason to be restricted to one language, so the option has been removed to simplify the preference code.
@SubhamTyagi
Copy link
Owner

After selecting multiple languages(other than English) Language data is not downloading (no dialog for download selected language). Neither showing selected language on home screen.

@muchuelo
Copy link

Looks like good news. Looking forward to seeing the new build on F-Droid.

@j-lakeman
Copy link

@SubhamTyagi any updates on this?

@SubhamTyagi SubhamTyagi merged commit 67f6580 into SubhamTyagi:master Jan 23, 2024
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.

4 participants