mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 02:48:54 +01:00
Clear selection immediately after pressing add
This commit is contained in:
parent
2aaf6d0a88
commit
31baba7a8a
1 changed files with 1 additions and 1 deletions
|
@ -45,11 +45,11 @@ class AddSelectionToAlbumHandler {
|
|||
file: f,
|
||||
))
|
||||
.toList();
|
||||
clearSelection();
|
||||
final albumRepo = AlbumRepo(AlbumCachedDataSource(AppDb()));
|
||||
final shareRepo = ShareRepo(ShareRemoteDataSource());
|
||||
await AddToAlbum(albumRepo, shareRepo, AppDb(), Pref())(
|
||||
account, value, selected);
|
||||
clearSelection();
|
||||
},
|
||||
null,
|
||||
L10n.global().addSelectedToAlbumSuccessNotification(value.name),
|
||||
|
|
Loading…
Reference in a new issue