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 ca82fb8ea..3187858f3 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 @@ -313,11 +313,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); } diff --git a/mastodon/src/main/res/layout/display_item_footer.xml b/mastodon/src/main/res/layout/display_item_footer.xml index 99896e58f..b2b382cc7 100644 --- a/mastodon/src/main/res/layout/display_item_footer.xml +++ b/mastodon/src/main/res/layout/display_item_footer.xml @@ -64,7 +64,7 @@ android:id="@+id/favorite" android:layout_width="wrap_content" android:layout_height="match_parent" - android:layout_gravity="center_vertical" + android:layout_gravity="center" android:drawableStart="@drawable/ic_fluent_star_24_selector" android:drawablePadding="8dp" android:paddingHorizontal="8dp"