mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 14:56:20 +01:00
Format code
This commit is contained in:
parent
0c08fc8122
commit
942c16b850
1 changed files with 3 additions and 2 deletions
|
@ -103,8 +103,9 @@ class ListImportableAlbumBloc
|
|||
final fileRepo = FileRepo(FileCachedDataSource());
|
||||
final albumRepo = AlbumRepo(AlbumCachedDataSource());
|
||||
final albums = (await ListAlbum(fileRepo, albumRepo)(ev.account)
|
||||
.where((event) => event is Album)
|
||||
.toList()).cast<Album>();
|
||||
.where((event) => event is Album)
|
||||
.toList())
|
||||
.cast<Album>();
|
||||
final importedDirs = albums.map((a) {
|
||||
if (a.provider is! AlbumDirProvider) {
|
||||
return <File>[];
|
||||
|
|
Loading…
Reference in a new issue