fix(mobile): do not show trashed assets in album viewer page (#4894)

Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2023-11-07 19:19:45 +00:00
committed by GitHub
parent 2dca2850dc
commit c2c26c471a
2 changed files with 3 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ class TrashNotifier extends StateNotifier<bool> {
.remoteIdProperty()
.findAll();
// TODO: handle local asset removal on emptyTrash
_ref
.read(syncServiceProvider)
.handleRemoteAssetRemoval(idsToRemove.cast<String>().toList());