Revert "fix(custom-local-timelines): fix inconsistent actions"
Reverting this due to realization I did it the other way due to it being better
This commit is contained in:
parent
0fccd0ab37
commit
4ad895ab71
|
@ -238,7 +238,7 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{
|
||||||
item.status, item.accountID, null,
|
item.status, item.accountID, null,
|
||||||
status -> {
|
status -> {
|
||||||
boost.setSelected(!status.reblogged);
|
boost.setSelected(!status.reblogged);
|
||||||
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setReblogged(status, !item.status.reblogged, null, r->boostConsumer(v, r));
|
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setReblogged(status, !status.reblogged, null, r->boostConsumer(v, r));
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
|
@ -265,7 +265,7 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{
|
||||||
item.status, item.accountID, null,
|
item.status, item.accountID, null,
|
||||||
status -> {
|
status -> {
|
||||||
session.getStatusInteractionController()
|
session.getStatusInteractionController()
|
||||||
.setReblogged(status, !item.status.reblogged, visibility, r->boostConsumer(v, r));
|
.setReblogged(status, !status.reblogged, visibility, r->boostConsumer(v, r));
|
||||||
boost.setSelected(status.reblogged);
|
boost.setSelected(status.reblogged);
|
||||||
dialog.dismiss();
|
dialog.dismiss();
|
||||||
}
|
}
|
||||||
|
@ -353,7 +353,7 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{
|
||||||
item.status, item.accountID, null,
|
item.status, item.accountID, null,
|
||||||
status -> {
|
status -> {
|
||||||
favorite.setSelected(!status.favourited);
|
favorite.setSelected(!status.favourited);
|
||||||
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setFavorited(status, !item.status.favourited, r->{
|
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setFavorited(status, !status.favourited, r->{
|
||||||
if (status.favourited) {
|
if (status.favourited) {
|
||||||
v.startAnimation(GlobalUserPreferences.reduceMotion ? opacityIn : animSet);
|
v.startAnimation(GlobalUserPreferences.reduceMotion ? opacityIn : animSet);
|
||||||
} else {
|
} else {
|
||||||
|
@ -396,7 +396,7 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{
|
||||||
item.status, item.accountID, null,
|
item.status, item.accountID, null,
|
||||||
status -> {
|
status -> {
|
||||||
bookmark.setSelected(!status.bookmarked);
|
bookmark.setSelected(!status.bookmarked);
|
||||||
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setBookmarked(status, !item.status.bookmarked, r->{
|
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setBookmarked(status, !status.bookmarked, r->{
|
||||||
v.startAnimation(opacityIn);
|
v.startAnimation(opacityIn);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue