fix(favourite): re-enable star animation

This commit is contained in:
FineFindus 2023-02-17 22:36:34 +01:00
parent ce67fb30bf
commit 3074100432
No known key found for this signature in database
GPG Key ID: 64873EE210FF8E6B
1 changed files with 1 additions and 5 deletions

View File

@ -312,11 +312,7 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{
favorite.setSelected(!item.status.favourited); favorite.setSelected(!item.status.favourited);
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setFavorited(item.status, !item.status.favourited, r->{ AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setFavorited(item.status, !item.status.favourited, r->{
if (item.status.favourited) { if (item.status.favourited) {
// if(GlobalUserPreferences.reduceMotion){ v.startAnimation(GlobalUserPreferences.reduceMotion ? opacityIn : animSet);
v.startAnimation(opacityIn);
// }else{
// v.startAnimation(animSet);
// }
} else { } else {
v.startAnimation(opacityIn); v.startAnimation(opacityIn);
} }