Ver código fonte

Tip: don't copy paste without reading it again

inorichi 9 anos atrás
pai
commit
f2b05e8519

+ 1 - 1
app/src/main/java/eu/kanade/mangafeed/presenter/DownloadQueuePresenter.java

@@ -119,7 +119,7 @@ public class DownloadQueuePresenter extends BasePresenter<DownloadQueueFragment>
                 });
 
         // Avoid leaking subscriptions
-        Subscription oldSubscription = progressSubscriptions.remove(download);
+        Subscription oldSubscription = pageStatusSubscriptions.remove(download);
         if (oldSubscription != null) oldSubscription.unsubscribe();
 
         pageStatusSubscriptions.put(download, subscription);