mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 20:24:03 -04:00
#3111 Bug fix
This commit is contained in:
parent
873f2fd5a0
commit
fde53359e5
@ -18,6 +18,7 @@
|
||||
|
||||
package org.kiwix.kiwixmobile.core.data
|
||||
|
||||
import android.util.Log
|
||||
import io.reactivex.Completable
|
||||
import io.reactivex.Flowable
|
||||
import io.reactivex.Scheduler
|
||||
@ -102,7 +103,7 @@ class Repository @Inject internal constructor(
|
||||
override fun clearHistory() = Completable.fromAction {
|
||||
historyDao.deleteAllHistory()
|
||||
recentSearchDao.deleteSearchHistory()
|
||||
}
|
||||
}.subscribeOn(io)
|
||||
|
||||
override fun getBookmarks() = bookmarksDao.bookmarks() as Flowable<List<BookmarkItem>>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user