diff --git a/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java b/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java index 4d572cb..9f7aea3 100644 --- a/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java +++ b/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java @@ -54,12 +54,12 @@ public class RefreshManager { // Set refresh complete when it is. availableModules.subscribeOn(AndroidSchedulers.handlerThread(backgroundHandler)) - .subscribe(null, null, () -> refreshComplete.set(true)); + .subscribe((onNext) -> {}, (onError) -> {}, () -> refreshComplete.set(true)); } } public Observable>> getAvailableModules() { - return getAvailableModules(); + return availableModules; } /**