Open rugk opened 2 years ago
Thanks for reporting this, I can confirm the bug. Just wanted to report it as well, and then found this issue. 👍
As described, the app only crashes when selecting multiple languages and does not start again until deleting all data. 😿
Same happened to me...
Still an issue. Same
The same :-/ Opened settings, chose some languages, and now impossible to launch, crashes on every attempt.
I have the loop open app-crash app still also when having multiple languages selected
I confirm the crash as described above too. Also, this issue is a duplicate of the issue #40.
That works:
private String getLanguageNameFromCode(String code) {
if (code.contains("+")) {
String[] lang_codes = code.split("\\+");
StringBuilder rLanguageName = new StringBuilder();
for (String lang : lang_codes) {
rLanguageName.append(languagesNames.get(languagesCodes.indexOf(lang)));
rLanguageName.append("+");
}
return rLanguageName.subSequence(0, rLanguageName.toString().lastIndexOf('+')).toString();
} else {
return languagesNames.get(languagesCodes.indexOf(code));
}
}
STR
what happens
At the next start/going to main screen the app crashes.
what should happen
No crash.
system
Device: Pixel 4 (flame)
OS: Android 12, CalyxOS 3.6.0
source: F-Droid
version: v3.2 Build-ID:
SQ3A.220605.009.A1.22306002