mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 15:27:55 -04:00
Fix lint error
This commit is contained in:
parent
d3223eb900
commit
b1b2f435c2
@ -43,7 +43,7 @@ class DownloaderImpl @Inject constructor(
|
||||
}
|
||||
|
||||
private fun urlProvider(book: Book): Observable<String> =
|
||||
if (book.url?.endsWith("meta4") == true) kiwixService.getMetaLinks(book.url)
|
||||
if (book.url?.endsWith("meta4") == true) kiwixService.getMetaLinks(book.url!!)
|
||||
.map { it.relevantUrl.value }
|
||||
else Observable.just(book.url)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user