forked from mirrors/Fedilab
avoid a crash
This commit is contained in:
parent
dda3296154
commit
70f9324b8c
1 changed files with 3 additions and 3 deletions
|
@ -728,11 +728,11 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
||||||
} else if (emojisList == null) {
|
} else if (emojisList == null) {
|
||||||
if (emojis.containsKey(BaseMainActivity.currentInstance)) {
|
if (emojis.containsKey(BaseMainActivity.currentInstance)) {
|
||||||
emojisList = emojis.get(BaseMainActivity.currentInstance);
|
emojisList = emojis.get(BaseMainActivity.currentInstance);
|
||||||
if (emojisList == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (emojisList == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
for (Emoji emoji : emojisList) {
|
for (Emoji emoji : emojisList) {
|
||||||
if (shortcode != null && emoji.shortcode.contains(shortcode)) {
|
if (shortcode != null && emoji.shortcode.contains(shortcode)) {
|
||||||
emojisToDisplay.add(emoji);
|
emojisToDisplay.add(emoji);
|
||||||
|
|
Loading…
Reference in a new issue