mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
chore: delete action button (#20261)
This commit is contained in:
parent
b14c768208
commit
3a5d82f790
11 changed files with 162 additions and 9 deletions
|
|
@ -10,6 +10,9 @@ import 'package:immich_mobile/providers/infrastructure/action.provider.dart';
|
|||
import 'package:immich_mobile/providers/timeline/multiselect.provider.dart';
|
||||
import 'package:immich_mobile/widgets/common/immich_toast.dart';
|
||||
|
||||
/// This delete action has the following behavior:
|
||||
/// - Set the deletedAt information, put the asset in the trash in the server
|
||||
/// which will be permanently deleted after the number of days configure by the admin
|
||||
class TrashActionButton extends ConsumerWidget {
|
||||
final ActionSource source;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue