We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10a5b20 commit 426dc48Copy full SHA for 426dc48
lib/screens/search_page.dart
@@ -170,7 +170,10 @@ class _SearchPageState extends State<SearchPage> {
170
171
AnimatedSwitcher(
172
duration: const Duration(milliseconds: 200),
173
- child: (_songsSearchResult.isEmpty && _albumsSearchResult.isEmpty)
+ child:
174
+ (_suggestionsList.isNotEmpty ||
175
+ (_songsSearchResult.isEmpty &&
176
+ _albumsSearchResult.isEmpty))
177
? ValueListenableBuilder<List>(
178
valueListenable: searchHistoryNotifier,
179
builder: (context, searchHistory, _) {
0 commit comments