fix: hidden buttons in compose can be pressed

This commit is contained in:
0xd9a 2022-12-24 22:27:24 +05:30
parent ef2aafed67
commit 78447a4c90
1 changed files with 1 additions and 0 deletions

View File

@ -1371,6 +1371,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
break;
}
holder.binding.visibilityPanel.setOnTouchListener((view, motionEvent) -> true);
holder.binding.buttonCloseAttachmentPanel.setOnClickListener(v -> holder.binding.attachmentChoicesPanel.setVisibility(View.GONE));
holder.binding.buttonVisibility.setOnClickListener(v -> {
holder.binding.visibilityPanel.setVisibility(View.VISIBLE);