mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 06:42:21 -04:00
#1972 codecov fix
This commit is contained in:
parent
58ef0de353
commit
6d82885f3c
@ -44,7 +44,7 @@ internal class HistoryPresenter @Inject constructor(
|
|||||||
{ histories: List<HistoryListItem> -> view?.updateHistoryList(histories) },
|
{ histories: List<HistoryListItem> -> view?.updateHistoryList(histories) },
|
||||||
{ e: Throwable -> Log.e("HistoryPresenter", "Failed to load history.", e) }
|
{ e: Throwable -> Log.e("HistoryPresenter", "Failed to load history.", e) }
|
||||||
)
|
)
|
||||||
disposable?.takeIf { !it.isDisposed }?.let { it.dispose() }
|
disposable?.takeIf { !it.isDisposed }?.dispose()
|
||||||
disposable = d
|
disposable = d
|
||||||
compositeDisposable.add(d)
|
compositeDisposable.add(d)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user