Format code

This commit is contained in:
Ming Ming 2021-09-04 20:35:10 +08:00
parent 0c08fc8122
commit 942c16b850

View file

@ -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>[];