mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
Small Bug fix
This commit is contained in:
parent
715e5e6f87
commit
f285aee227
@ -18,6 +18,7 @@
|
||||
|
||||
package org.kiwix.kiwixmobile.core.dao
|
||||
|
||||
import android.util.Log
|
||||
import androidx.room.Dao
|
||||
import androidx.room.Query
|
||||
import io.objectbox.Box
|
||||
@ -78,7 +79,7 @@ abstract class NewRecentSearchRoomDao {
|
||||
val searchRoomEntityList = box.all
|
||||
searchRoomEntityList.forEach {
|
||||
CoroutineScope(Dispatchers.IO).launch {
|
||||
saveSearch(it.searchTerm, it.id.toString())
|
||||
saveSearch(it.searchTerm, it.zimId)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user