From 307410043297ebeeb822984b9adde81f4b7978d3 Mon Sep 17 00:00:00 2001 From: FineFindus <63370021+FineFindus@users.noreply.github.com> Date: Fri, 17 Feb 2023 22:36:34 +0100 Subject: [PATCH] fix(favourite): re-enable star animation --- .../android/ui/displayitems/FooterStatusDisplayItem.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 c5b2afe06..30b3bb225 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 @@ -312,11 +312,7 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{ favorite.setSelected(!item.status.favourited); AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setFavorited(item.status, !item.status.favourited, r->{ if (item.status.favourited) { -// if(GlobalUserPreferences.reduceMotion){ - v.startAnimation(opacityIn); -// }else{ -// v.startAnimation(animSet); -// } + v.startAnimation(GlobalUserPreferences.reduceMotion ? opacityIn : animSet); } else { v.startAnimation(opacityIn); }