mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix: add assets to album (#20626)
* fix: add assets to album * always navigate back to the albums view from album page
This commit is contained in:
parent
c8f9a72d3e
commit
be85832b20
3 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import 'package:auto_route/auto_route.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||
import 'package:immich_mobile/domain/models/asset/base_asset.model.dart';
|
||||
|
|
@ -26,7 +25,7 @@ class _SelectionSliverAppBarState extends ConsumerState<SelectionSliverAppBar> {
|
|||
|
||||
onDone(Set<BaseAsset> selected) {
|
||||
ref.read(multiSelectProvider.notifier).reset();
|
||||
context.maybePop<Set<BaseAsset>>(selected);
|
||||
context.pop<Set<BaseAsset>>(selected);
|
||||
}
|
||||
|
||||
return SliverAppBar(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue