Fix android build

This commit is contained in:
Elias Nahum 2022-06-29 17:31:01 -04:00
parent dd1af41400
commit 4a79ae0574
No known key found for this signature in database
GPG key ID: E038DB71E0B61702

View file

@ -150,7 +150,7 @@ class DatabaseHelper {
cursor1.moveToFirst()
val lastFetchedAt = cursor1.getDouble(0)
cursor1.close()
if (lastFetchedAt == 0) {
if (lastFetchedAt == 0.0) {
return queryLastPostCreateAt(db, channelId)
}
return lastFetchedAt