|
|
@ -108,8 +108,8 @@ public class FragmentMastodonContext extends Fragment {
|
|
|
|
int i = 0;
|
|
|
|
int i = 0;
|
|
|
|
for (Status status : statuses) {
|
|
|
|
for (Status status : statuses) {
|
|
|
|
if (status.id.equals(convertStatus.in_reply_to_id)) {
|
|
|
|
if (status.id.equals(convertStatus.in_reply_to_id)) {
|
|
|
|
statuses.add(i, convertStatus);
|
|
|
|
statuses.add((i + 1), convertStatus);
|
|
|
|
statusAdapter.notifyItemInserted(i);
|
|
|
|
statusAdapter.notifyItemInserted((i + 1));
|
|
|
|
if (requireActivity() instanceof ContextActivity) {
|
|
|
|
if (requireActivity() instanceof ContextActivity) {
|
|
|
|
//Redraw decorations
|
|
|
|
//Redraw decorations
|
|
|
|
statusAdapter.notifyItemRangeChanged(0, statuses.size());
|
|
|
|
statusAdapter.notifyItemRangeChanged(0, statuses.size());
|
|
|
|