Fix spoiler issue when composing threads

This commit is contained in:
Thomas 2023-08-16 10:09:41 +02:00
parent eec448491f
commit c1b256f150
1 changed files with 1 additions and 0 deletions

View File

@ -796,6 +796,7 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
}
status.spoiler_text = statusList.get(position - 1).spoiler_text;
status.sensitive = statusList.get(position - 1).sensitive;
status.spoilerChecked = statusList.get(position - 1).spoilerChecked;
statusList.add(status);
composeAdapter.notifyItemInserted(position);
composeAdapter.notifyItemRangeChanged(0, statusList.size());