mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-04-01 12:39:59 +03:00
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) {
|
||||
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 a new issue