diff --git a/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx b/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx index 09c4f05..d560cd2 100644 --- a/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx +++ b/apps/mobile/app/(app)/(tabs)/home/album/[id].tsx @@ -23,9 +23,9 @@ import { } from "@/components/collection-list" import { AudioFormatBadge } from "@/components/audio-format-badge" import { - DownloadHeaderButton, + CollectionDownloadButton, DownloadedQuality, -} from "@/components/download-header-button" +} from "@/components/collection-download-button" import { useOpenedFromDownloads } from "@/lib/downloads-navigation" import { downloadsQueueOrigin } from "@otunes/convex/download-quality" import { @@ -226,41 +226,35 @@ export default function AlbumScreen() { } : {}), headerRight: () => ( - - - { - if (action === "download") { - void requestDownload(downloadTarget) - } else if (action === "remove-download") { - void removeDownload(downloadTarget) - } else { - void handleAlbumDetailAction( - album.id as Id<"albums">, - songIds, - action, - album.artist.id as Id<"artists"> - ) - } - }} - > - - - - - + { + if (action === "download") { + void requestDownload(downloadTarget) + } else if (action === "remove-download") { + void removeDownload(downloadTarget) + } else { + void handleAlbumDetailAction( + album.id as Id<"albums">, + songIds, + action, + album.artist.id as Id<"artists"> + ) + } + }} + > + + + + ), }} /> @@ -321,6 +315,14 @@ export default function AlbumScreen() { color={favorited ? palette.accent : palette.foreground} /> +