mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-23 01:00:04 +02:00
Fix spoiler issue when composing threads
This commit is contained in:
parent
eec448491f
commit
c1b256f150
1 changed files with 1 additions and 0 deletions
|
@ -796,6 +796,7 @@ public class ComposeActivity extends BaseActivity implements ComposeAdapter.Mana
|
||||||
}
|
}
|
||||||
status.spoiler_text = statusList.get(position - 1).spoiler_text;
|
status.spoiler_text = statusList.get(position - 1).spoiler_text;
|
||||||
status.sensitive = statusList.get(position - 1).sensitive;
|
status.sensitive = statusList.get(position - 1).sensitive;
|
||||||
|
status.spoilerChecked = statusList.get(position - 1).spoilerChecked;
|
||||||
statusList.add(status);
|
statusList.add(status);
|
||||||
composeAdapter.notifyItemInserted(position);
|
composeAdapter.notifyItemInserted(position);
|
||||||
composeAdapter.notifyItemRangeChanged(0, statusList.size());
|
composeAdapter.notifyItemRangeChanged(0, statusList.size());
|
||||||
|
|
Loading…
Reference in a new issue