Fix media not added in chat view

This commit is contained in:
Thomas 2023-02-15 14:59:01 +01:00
parent 67b9e8c7d0
commit 12decaea76

View file

@ -547,7 +547,7 @@ public class FragmentMastodonDirectMessage extends Fragment {
private void initiliazeStatus() {
statusCompose = new Status();
binding.text.setText("");
binding.attachmentsListContainer.removeAllViews();
binding.attachmentsList.removeAllViews();
if (statuses != null && statuses.size() > 0) {
binding.recyclerView.scrollToPosition(statuses.size() - 1);
Status lastStatus = statuses.get(statuses.size() - 1);