Skip to content

Commit

Permalink
When languages choose page list is empty, enter the search character …
Browse files Browse the repository at this point in the history
…to crash.
  • Loading branch information
ThirtyDegreesRay committed Mar 24, 2018
1 parent 8ce2251 commit 795d2d4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ public void loadLanguages() {

@Override
public void searchLanguages(String key) {
if(languages == null){
return;
}
if(StringUtils.isBlank(key)){
mView.showLanguages(languages);
} else {
Expand Down

0 comments on commit 795d2d4

Please sign in to comment.