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 fileRepo = FileRepo(FileCachedDataSource());
final albumRepo = AlbumRepo(AlbumCachedDataSource()); final albumRepo = AlbumRepo(AlbumCachedDataSource());
final albums = (await ListAlbum(fileRepo, albumRepo)(ev.account) final albums = (await ListAlbum(fileRepo, albumRepo)(ev.account)
.where((event) => event is Album) .where((event) => event is Album)
.toList()).cast<Album>(); .toList())
.cast<Album>();
final importedDirs = albums.map((a) { final importedDirs = albums.map((a) {
if (a.provider is! AlbumDirProvider) { if (a.provider is! AlbumDirProvider) {
return <File>[]; return <File>[];