fix boost button not updating when boosting (#4048)
This commit is contained in:
parent
0fad9729ef
commit
9412ffba0f
2 changed files with 9 additions and 1 deletions
|
|
@ -725,6 +725,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
|||
listener.onReblog(!buttonState, position);
|
||||
if(!buttonState) {
|
||||
reblogButton.playAnimation();
|
||||
reblogButton.setChecked(true);
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
|
@ -746,6 +747,7 @@ public abstract class StatusBaseViewHolder extends RecyclerView.ViewHolder {
|
|||
listener.onFavourite(!buttonState, position);
|
||||
if(!buttonState) {
|
||||
favouriteButton.playAnimation();
|
||||
favouriteButton.setChecked(true);
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue