Fix a couple more Rx/context inconsistencies. (#2715)

* Stop storing Context!

* Properly contain and dispose of observables.

* Add a few more containments of Rx observables.
This commit is contained in:
Dmitry Brant 2019-03-22 23:22:36 -04:00 committed by Vivek Maskara
parent 7cb1f56165
commit f7302d4301
6 changed files with 76 additions and 92 deletions

View file

@ -236,7 +236,7 @@ public class DeleteTask extends AsyncTask<Void, Integer, Boolean> {
}
}
((ReviewActivity)context).reviewController.swipeToNext();
((ReviewActivity)context).swipeToNext();
((ReviewActivity)context).runRandomizer();
DeleteTask deleteTask = new DeleteTask(context, media, reason);