mirror of
https://codeberg.org/Mercury-IM/Mercury-IM
synced 2024-09-27 10:19:33 +02:00
Fix #4 correct chat bubbles size by requesting relayout
This commit is contained in:
parent
827581c036
commit
93d8afc165
|
@ -44,7 +44,7 @@ public class ChatRecyclerViewAdapter extends RecyclerView.Adapter<ChatRecyclerVi
|
||||||
holder.body.setBackgroundResource(background.getOut());
|
holder.body.setBackgroundResource(background.getOut());
|
||||||
}
|
}
|
||||||
holder.body.setText(message.getBody());
|
holder.body.setText(message.getBody());
|
||||||
holder.itemView.invalidate();
|
holder.body.requestLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue