fix: radio mode appends songs without restarting; favorites/song row mobile fixes

- fillRadioQueue: use addToQueue instead of setQueue so toggling radio mode
  no longer resets position to 0 on the current song
- loadStarred: pass noArtistLink/noAlbumLink to prevent accidental navigation
  taps on mobile (matches playlist behavior)
- styles.css: add pointer:coarse alongside hover:none so song-actions are
  visible on Android WebView which may report hover:hover
- components.js: remove inline download button from song row; keep only star
  and 3-dots (download stays accessible via context menu)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Sonnet 4.6 committed 2026-05-18 22:25:26 +02:00
1 parent 1b7c05f66d
commit e893b7cc12
4 files changed
+9 -8

No files matched your search

+5 -2
View File
@@ -595,9 +595,12 @@ export async function fillRadioQueue() {
if(!S.radioMode) return;
try {
const r = await api('getRandomSongs', '&size=20');
S.queue.push(...(r.randomSongs?.song || []));
const newSongs = r.randomSongs?.song || [];
const prevLen = S.queue.length;
S.queue.push(...newSongs);
renderQueue();
_pushQueueIfBridge();
// Append-only: never call setQueue here (that resets position to 0).
S.queue.slice(prevLen).forEach(s => _nsBridge('addToQueue', JSON.stringify(_trackToNative(s)), -1));
} catch {}
}