drift(mobile): drift auth user sync

This commit is contained in:
wuzihao051119
2025-07-25 12:28:02 +08:00
parent ad65e9011a
commit 4677ceb03c
69 changed files with 9116 additions and 1206 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ class AlbumService {
userId: user.id,
);
album.sharedUsers.remove(entity.User.fromDto(user));
album.sharedUsers.remove(entity.IsarUser.fromDto(user));
await _albumRepository.removeUsers(album, [user]);
final a = await _albumRepository.get(album.id);
// trigger watcher