fix akkoma crash on edit

This commit is contained in:
sk 2022-12-27 22:00:19 +01:00 committed by LucasGGamerM
parent ea3dc32e98
commit d2be917bd4
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
}
private void updateLanguage(String lang) {
updateLanguage(languageResolver.from(lang));
updateLanguage(lang == null ? languageResolver.getDefault() : languageResolver.from(lang));
}
private void updateLanguage(MastodonLanguage loc) {