Fix reblog confirm (#1723)
* Fix reblog confirmation default value * Fix triggering reblog before confirming it * Fix accidents caused by reblog confirmation
This commit is contained in:
parent
c80fa68dbe
commit
d44eada140
5 changed files with 14 additions and 15 deletions
|
@ -585,10 +585,6 @@ public class TimelineFragment extends SFragment implements
|
|||
@Override
|
||||
public void onReblog(final boolean reblog, final int position) {
|
||||
final Status status = statuses.get(position).asRight();
|
||||
doReblog(reblog, position, status);
|
||||
}
|
||||
|
||||
private void doReblog(boolean reblog, int position, Status status) {
|
||||
timelineCases.reblog(status, reblog)
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.as(autoDisposable(from(this, Lifecycle.Event.ON_DESTROY)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue