mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -04:00
#101 revert using offer method on processors
This commit is contained in:
parent
f5401200a7
commit
36767eeab7
@ -236,10 +236,10 @@ class ZimManageViewModel @Inject constructor(
|
|||||||
.timeout(60, SECONDS)
|
.timeout(60, SECONDS)
|
||||||
.retry(5)
|
.retry(5)
|
||||||
.subscribe(
|
.subscribe(
|
||||||
{ library.offer(it) },
|
{ library.onNext(it) },
|
||||||
{
|
{
|
||||||
it.printStackTrace()
|
it.printStackTrace()
|
||||||
library.offer(LibraryNetworkEntity().apply { book = LinkedList() })
|
library.onNext(LibraryNetworkEntity().apply { book = LinkedList() })
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user