avoid a crash
This commit is contained in:
parent
dda3296154
commit
70f9324b8c
|
@ -728,11 +728,11 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
|||
} else if (emojisList == null) {
|
||||
if (emojis.containsKey(BaseMainActivity.currentInstance)) {
|
||||
emojisList = emojis.get(BaseMainActivity.currentInstance);
|
||||
if (emojisList == null) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (emojisList == null) {
|
||||
return;
|
||||
}
|
||||
for (Emoji emoji : emojisList) {
|
||||
if (shortcode != null && emoji.shortcode.contains(shortcode)) {
|
||||
emojisToDisplay.add(emoji);
|
||||
|
|
Loading…
Reference in New Issue