fix conversation swipe background color

This commit is contained in:
kosyak 2023-10-31 15:05:04 +01:00
parent 53a4c6cbcb
commit 2b4b0b1212

View file

@ -114,7 +114,7 @@ public class ConversationsOverviewFragment extends XmppFragment {
super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive);
if(actionState != ItemTouchHelper.ACTION_STATE_IDLE){
Paint paint = new Paint();
paint.setColor(StyledAttributes.getColor(activity,R.attr.conversations_overview_background));
paint.setColor(StyledAttributes.getColor(activity,R.attr.colorPrimaryDark));
paint.setStyle(Paint.Style.FILL);
c.drawRect(viewHolder.itemView.getLeft(),viewHolder.itemView.getTop()
,viewHolder.itemView.getRight(),viewHolder.itemView.getBottom(), paint);