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

+1 -1
View File
@@ -669,7 +669,7 @@ export async function loadStarred(sort = _starredSort) {
else if (sort === 'plays') songs.sort((a, b) => (b.playCount||0) - (a.playCount||0));
el.innerHTML = '';
if(!songs.length) { el.innerHTML = '<div class="empty-state"><div class="icon">⭐</div><p>Noch keine Favoriten</p></div>'; return; }
songs.forEach((s,i) => el.appendChild(makeSongItem(s, i, songs)));
songs.forEach((s,i) => el.appendChild(makeSongItem(s, i, songs, { noArtistLink: true, noAlbumLink: true })));
} catch(e) { el.innerHTML = `<p style="color:var(--danger)">${e.message}</p>`; }
}