mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 01:11:07 +03: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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user