Merge pull request #769 from jixiaoyong/master
fix: NullPointerException crash while change post language twice
This commit is contained in:
commit
5552dc2ac6
|
@ -97,7 +97,7 @@ public class ComposeLanguageAlertViewController{
|
|||
int i=0;
|
||||
boolean found=false;
|
||||
for(SpecialLocaleInfo li:specialLocales){
|
||||
if(li.locale.equals(previouslySelected.locale)){
|
||||
if(null!=li.locale&&li.locale.equals(previouslySelected.locale)){
|
||||
selectedLocale=li.locale;
|
||||
selectedIndex=i;
|
||||
found=true;
|
||||
|
|
Loading…
Reference in New Issue