Fix Download menu not showing in TrackRow-based views

- Added onDownload, isTrackDownloaded, onOpenFolder, onReDownload to TrackMenuActions interface
- Pass download props from menuActions to TrackMenu in TrackRow
- Removed debug logging
- Fixes Download menu missing in HomeView, AlbumDetailView, and FavoritesView
This commit is contained in:
vicrodh committed 2026-01-19 21:46:14 -06:00
1 parent 4abb06ff89
commit 378ba36443
1 file changed
+8
+8
View File
@@ -48,6 +48,10 @@
onShareSonglink?: () => void;
onGoToAlbum?: () => void;
onGoToArtist?: () => void;
onDownload?: () => void;
isTrackDownloaded?: boolean;
onOpenFolder?: () => void;
onReDownload?: () => void;
}
let {
@@ -243,6 +247,10 @@
onShareSonglink={menuActions?.onShareSonglink}
onGoToAlbum={menuActions?.onGoToAlbum}
onGoToArtist={menuActions?.onGoToArtist}
onDownload={menuActions?.onDownload}
isTrackDownloaded={menuActions?.isTrackDownloaded}
onOpenFolder={menuActions?.onOpenFolder}
onReDownload={menuActions?.onReDownload}
/>
</div>
</div>