mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
Fix AbstractError.getDescriptiveText()
This commit is contained in:
parent
4fb1449077
commit
8a8c01a4e5
1 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,10 @@ public class AbstractError {
|
|||
String defaultLocale = Locale.getDefault().getLanguage();
|
||||
String descriptiveText = getDescriptiveText(defaultLocale);
|
||||
if (descriptiveText == null) {
|
||||
descriptiveText = getDescriptiveText("");
|
||||
descriptiveText = getDescriptiveText("en");
|
||||
if(descriptiveText == null) {
|
||||
descriptiveText = getDescriptiveText("");
|
||||
}
|
||||
}
|
||||
return descriptiveText;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue