feat: make confirm reblog setting consistent on customlocaltimelines
Make it so there is also a confirmation to reblog on custom local timelines
This commit is contained in:
parent
05217b7712
commit
4c698cf217
|
@ -232,9 +232,14 @@ public class FooterStatusDisplayItem extends StatusDisplayItem{
|
||||||
UiUtils.lookupStatus(v.getContext(),
|
UiUtils.lookupStatus(v.getContext(),
|
||||||
item.status, item.accountID, null,
|
item.status, item.accountID, null,
|
||||||
status -> {
|
status -> {
|
||||||
|
if (GlobalUserPreferences.confirmBeforeReblog) {
|
||||||
|
v.startAnimation(opacityIn);
|
||||||
|
onBoostLongClick(v);
|
||||||
|
} else {
|
||||||
boost.setSelected(!status.reblogged);
|
boost.setSelected(!status.reblogged);
|
||||||
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setReblogged(status, !status.reblogged, null, r->boostConsumer(v, r));
|
AccountSessionManager.getInstance().getAccount(item.accountID).getStatusInteractionController().setReblogged(status, !status.reblogged, null, r->boostConsumer(v, r));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue