fix(favourite): re-enable star animation
This commit is contained in:
parent
ce67fb30bf
commit
3074100432
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue