From 44b50bfa2311f8ac56839ef73fb143bf00fe34d5 Mon Sep 17 00:00:00 2001 From: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Date: Mon, 1 Dec 2025 23:18:38 +0530 Subject: [PATCH] fix equals check --- .../lib/infrastructure/repositories/local_album.repository.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/infrastructure/repositories/local_album.repository.dart b/mobile/lib/infrastructure/repositories/local_album.repository.dart index fc84946063..9d4c9bc496 100644 --- a/mobile/lib/infrastructure/repositories/local_album.repository.dart +++ b/mobile/lib/infrastructure/repositories/local_album.repository.dart @@ -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)), ); } });