mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor: actions provider (#19651)
* refactor: actions provider * chore: rename error and stack * remove empty checks --------- Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
5011636d95
commit
21f500191a
8 changed files with 159 additions and 140 deletions
|
|
@ -407,7 +407,7 @@ class _MultiSelectStatusButton extends ConsumerWidget {
|
|||
final selectCount =
|
||||
ref.watch(multiSelectProvider.select((s) => s.selectedAssets.length));
|
||||
return ElevatedButton.icon(
|
||||
onPressed: () => ref.read(multiSelectProvider.notifier).clearSelection(),
|
||||
onPressed: () => ref.read(multiSelectProvider.notifier).reset(),
|
||||
icon: Icon(
|
||||
Icons.close_rounded,
|
||||
color: context.colorScheme.onPrimary,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue