Skip to content

Commit

Permalink
fix: folders search count
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed Oct 29, 2023
1 parent d2b123a commit e84f15e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ui/pages/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class SearchPage extends StatelessWidget {
final artistSearchTemp = SearchSortController.inst.artistSearchTemp;
final genreSearchTemp = SearchSortController.inst.genreSearchTemp;
final playlistSearchTemp = SearchSortController.inst.playlistSearchTemp;
final folderSearchTemp = SearchSortController.inst.folderSearchTemp;
final folderSearchTemp = SearchSortController.inst.folderSearchTemp.where((f) => Folder(f).tracks.isNotEmpty).toList();

return CustomScrollView(
controller: scrollController,
Expand Down Expand Up @@ -333,7 +333,6 @@ class SearchPage extends StatelessWidget {
builder: (item) {
final folder = Folder(item);
final tracks = folder.tracks;
if (tracks.isEmpty) return const SizedBox();

return NamidaInkWell(
margin: const EdgeInsets.only(left: 6.0),
Expand Down

0 comments on commit e84f15e

Please sign in to comment.