mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-25 10:58:50 +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,
|
file: f,
|
||||||
))
|
))
|
||||||
.toList();
|
.toList();
|
||||||
|
clearSelection();
|
||||||
final albumRepo = AlbumRepo(AlbumCachedDataSource(AppDb()));
|
final albumRepo = AlbumRepo(AlbumCachedDataSource(AppDb()));
|
||||||
final shareRepo = ShareRepo(ShareRemoteDataSource());
|
final shareRepo = ShareRepo(ShareRemoteDataSource());
|
||||||
await AddToAlbum(albumRepo, shareRepo, AppDb(), Pref())(
|
await AddToAlbum(albumRepo, shareRepo, AppDb(), Pref())(
|
||||||
account, value, selected);
|
account, value, selected);
|
||||||
clearSelection();
|
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
L10n.global().addSelectedToAlbumSuccessNotification(value.name),
|
L10n.global().addSelectedToAlbumSuccessNotification(value.name),
|
||||||
|
|
Loading…
Reference in a new issue