fix equals check

This commit is contained in:
shenlong-tanwen
2025-12-01 23:18:38 +05:30
parent d90d22f44a
commit 44b50bfa23

View File

@@ -264,7 +264,7 @@ class DriftLocalAlbumRepository extends DriftDatabaseRepository {
batch.update(
_db.localAssetEntity,
companion,
where: (row) => row.id.equals(asset.id) & row.adjustmentTime.equalsNullable(asset.adjustmentTime).not(),
where: (row) => row.id.equals(asset.id) & row.adjustmentTime.isNotExp(Variable(asset.adjustmentTime)),
);
}
});