mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-07-07 20:30:28 +03:00
Fix issue #24
This commit is contained in:
parent
d30175d372
commit
10d8b42552
1 changed files with 1 additions and 1 deletions
|
@ -912,7 +912,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
||||||
Handler mainHandler = new Handler(Looper.getMainLooper());
|
Handler mainHandler = new Handler(Looper.getMainLooper());
|
||||||
Runnable myRunnable = () -> {
|
Runnable myRunnable = () -> {
|
||||||
int currentCursorPosition = holder.binding.content.getSelectionStart();
|
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.setThreshold(1);
|
||||||
holder.binding.content.setAdapter(emojisSearchAdapter);
|
holder.binding.content.setAdapter(emojisSearchAdapter);
|
||||||
final String oldContent = holder.binding.content.getText().toString();
|
final String oldContent = holder.binding.content.getText().toString();
|
||||||
|
|
Loading…
Reference in a new issue