mirror of
https://github.com/MinimalBible/MinimalBible-Legacy
synced 2024-11-16 04:58:26 -05:00
Synchronization needs fixing, otherwise works.
This commit is contained in:
parent
8d17b6db64
commit
3869cf0b9b
@ -54,12 +54,12 @@ public class RefreshManager {
|
|||||||
|
|
||||||
// Set refresh complete when it is.
|
// Set refresh complete when it is.
|
||||||
availableModules.subscribeOn(AndroidSchedulers.handlerThread(backgroundHandler))
|
availableModules.subscribeOn(AndroidSchedulers.handlerThread(backgroundHandler))
|
||||||
.subscribe(null, null, () -> refreshComplete.set(true));
|
.subscribe((onNext) -> {}, (onError) -> {}, () -> refreshComplete.set(true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Observable<Map<Installer, List<Book>>> getAvailableModules() {
|
public Observable<Map<Installer, List<Book>>> getAvailableModules() {
|
||||||
return getAvailableModules();
|
return availableModules;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user