#101 revert using offer method on processors

This commit is contained in:
Sean Mac Gillicuddy 2019-07-23 16:49:00 +01:00
parent f5401200a7
commit 36767eeab7

View File

@ -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() })
} }
) )
}, },