Fix warning

This commit is contained in:
J-Jamet committed 2022-01-28 15:56:16 +01:00
1 parent cebba5a09d
commit ba0e87f32a
1 file changed
+1 -1
@@ -114,7 +114,7 @@ class SearchEntryCursorAdapter(private val context: Context,
private fun getEntryFrom(cursor: Cursor?): Entry? {
val entryCursor = cursor as? EntryCursor?
entryCursor?.getNodeId()?.let {
return database?.getEntryById(it)
return database.getEntryById(it)
}
return null
}