diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java index 2c7bf4f3..c27f46e5 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/ComposeAdapter.java @@ -912,7 +912,7 @@ public class ComposeAdapter extends RecyclerView.Adapter { int currentCursorPosition = holder.binding.content.getSelectionStart(); - EmojiSearchAdapter emojisSearchAdapter = new EmojiSearchAdapter(context, emojis[0]); + EmojiSearchAdapter emojisSearchAdapter = new EmojiSearchAdapter(context, emojisToDisplay); holder.binding.content.setThreshold(1); holder.binding.content.setAdapter(emojisSearchAdapter); final String oldContent = holder.binding.content.getText().toString();