diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java index 3c7d14941..149046d32 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/FooterStatusDisplayItem.java @@ -232,8 +232,13 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{ UiUtils.lookupStatus(v.getContext(), item.status, item.accountID, null, status -> { - boost.setSelected(!status.reblogged); - AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setReblogged(status, !status.reblogged, null, r->boostConsumer(v, r)); + if (GlobalUserPreferences.confirmBeforeReblog) { + v.startAnimation(opacityIn); + onBoostLongClick(v); + } else { + boost.setSelected(!status.reblogged); + AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setReblogged(status, !status.reblogged, null, r->boostConsumer(v, r)); + } } ); return;