mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-05-23 06:20:02 +03:00
Fix media not added in chat view
This commit is contained in:
parent
67b9e8c7d0
commit
12decaea76
1 changed files with 1 additions and 1 deletions
|
@ -547,7 +547,7 @@ public class FragmentMastodonDirectMessage extends Fragment {
|
||||||
private void initiliazeStatus() {
|
private void initiliazeStatus() {
|
||||||
statusCompose = new Status();
|
statusCompose = new Status();
|
||||||
binding.text.setText("");
|
binding.text.setText("");
|
||||||
binding.attachmentsListContainer.removeAllViews();
|
binding.attachmentsList.removeAllViews();
|
||||||
if (statuses != null && statuses.size() > 0) {
|
if (statuses != null && statuses.size() > 0) {
|
||||||
binding.recyclerView.scrollToPosition(statuses.size() - 1);
|
binding.recyclerView.scrollToPosition(statuses.size() - 1);
|
||||||
Status lastStatus = statuses.get(statuses.size() - 1);
|
Status lastStatus = statuses.get(statuses.size() - 1);
|
||||||
|
|
Loading…
Reference in a new issue