mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor(mobile): asset provider (#16159)
* refactor(mobile): asset provider * wip * wip: delete local assets * wip: delete remote assets * wip: deletion logic * refactor * pr feedback
This commit is contained in:
parent
70d08a2b2a
commit
9d4aee36e2
24 changed files with 326 additions and 299 deletions
|
|
@ -57,7 +57,7 @@ class TrashNotifier extends StateNotifier<bool> {
|
|||
|
||||
final isRemoved = await _ref
|
||||
.read(assetProvider.notifier)
|
||||
.deleteRemoteOnlyAssets(assetList, force: true);
|
||||
.deleteRemoteAssets(assetList, shouldDeletePermanently: true);
|
||||
|
||||
if (isRemoved) {
|
||||
final idsToRemove =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue