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
@@ -69,7 +69,7 @@ class AlbumOptionsPage extends HookConsumerWidget {
try {
await ref.read(albumProvider.notifier).removeUser(album, user);
album.sharedUsers.remove(entity.User.fromDto(user));
album.sharedUsers.remove(entity.IsarUser.fromDto(user));
sharedUsers.value = album.sharedUsers.map((u) => u.toDto()).toList();
} catch (error) {
showErrorMessage();