Fix issue #252 - long press quick reply button
This commit is contained in:
parent
c1abc34fa7
commit
91756f161c
|
@ -2383,6 +2383,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
imm.hideSoftInputFromWindow(holder.quick_reply_button.getWindowToken(), 0);
|
||||
});
|
||||
|
||||
if (MainActivity.social == UpdateAccountInfoAsyncTask.SOCIAL.PLEROMA) {
|
||||
holder.quick_reply_button.setOnLongClickListener(v -> {
|
||||
android.widget.PopupMenu popup = new android.widget.PopupMenu(context, holder.quick_reply_button);
|
||||
popup.getMenuInflater()
|
||||
|
@ -2416,6 +2417,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
popup.show();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
holder.quick_reply_privacy.setOnClickListener(view -> {
|
||||
|
||||
|
|
Loading…
Reference in New Issue