From ad1de60968dadd98c0ff334bb73efa1d0bc5963e Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sun, 17 Mar 2024 09:49:56 -0300 Subject: [PATCH] fix(extended-footer): make it appear on top of the standard post footer --- .../java/org/joinmastodon/android/fragments/ThreadFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java index 6bd70b5cdb..f3849cc7cd 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ThreadFragment.java @@ -167,7 +167,7 @@ else if(item instanceof SpoilerStatusDisplayItem spoiler){ for (int deleteThisItem : deleteTheseItems) itemsToModify.remove(deleteThisItem); if(s.id.equals(mainStatus.id)) { - items.add(new ExtendedFooterStatusDisplayItem(s.id, this, accountID, s.getContentStatus())); + items.add(items.size()-1, new ExtendedFooterStatusDisplayItem(s.id, this, accountID, s.getContentStatus())); } return items; }