mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-22 07:58:20 -05:00
Fix a deprecation
This commit is contained in:
parent
2d59859ac7
commit
40c706c4ab
@ -72,7 +72,7 @@ public class BookDownloadManager implements WorkListener, BooksListener {
|
|||||||
// So, the JobManager can't be injected, but we'll make do
|
// So, the JobManager can't be injected, but we'll make do
|
||||||
|
|
||||||
// First, look up where the Book came from
|
// First, look up where the Book came from
|
||||||
Observable.from(refreshManager.installerFromBook(b))
|
Observable.just(refreshManager.installerFromBook(b))
|
||||||
.subscribeOn(Schedulers.io())
|
.subscribeOn(Schedulers.io())
|
||||||
.subscribe(new Action1<Installer>() {
|
.subscribe(new Action1<Installer>() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user