Skip to content

Commit f9013ab

Browse files
committed
fix(search_page): simplify ValueKey generation for song items
1 parent 5ef159f commit f9013ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/screens/search_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class _SearchPageState extends State<SearchPage> {
297297
SongBar(
298298
_songsSearchResult[index],
299299
true,
300-
key: ValueKey('song_${_songsSearchResult[index]['ytid']}_$index'),
300+
key: ValueKey('${_songsSearchResult[index]['ytid']}'),
301301
showMusicDuration: true,
302302
borderRadius: borderRadius,
303303
),

0 commit comments

Comments
 (0)