mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-04 03:06:41 -04:00
Fixed test
This commit is contained in:
parent
613d671fc8
commit
c4d2ba27c2
@ -117,7 +117,7 @@ abstract class NewBookRoomDao {
|
|||||||
fun getFavIconAndZimFile(it: Bookmark): Pair<String?, String?> {
|
fun getFavIconAndZimFile(it: Bookmark): Pair<String?, String?> {
|
||||||
return getBookOnDiskById(it.zimId).let {
|
return getBookOnDiskById(it.zimId).let {
|
||||||
return@let it.favIcon to it.file.path
|
return@let it.favIcon to it.file.path
|
||||||
} ?: (null to null)
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Query("SELECT * FROM BookOnDiskRoomEntity WHERE bookId LIKE :zimId")
|
@Query("SELECT * FROM BookOnDiskRoomEntity WHERE bookId LIKE :zimId")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user