mirror of
https://github.com/Boof2015/astra-mobile.git
synced 2026-08-20 04:30:54 +02:00
fix now playing source label
This commit is contained in:
@@ -938,7 +938,12 @@ function QuickSearchPanel({
|
||||
0,
|
||||
context.findIndex((track) => track.path === result.track.path)
|
||||
);
|
||||
void playTracks(context.map(dbTrackToTrack), index);
|
||||
void playTracks(context.map(dbTrackToTrack), {
|
||||
startIndex: index,
|
||||
source: hasQuery
|
||||
? { kind: 'search', label: `Search: ${trimmedQuery}` }
|
||||
: { kind: 'recently-played', label: 'Recently Played' },
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user