From 5773133bea31b15d2ec15258e9f624a221201a62 Mon Sep 17 00:00:00 2001 From: Komodo <45665554+Komodo5197@users.noreply.github.com> Date: Mon, 20 May 2024 12:34:26 -0400 Subject: [PATCH] Fix transcoding prompt. --- lib/components/AlbumScreen/download_dialog.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/components/AlbumScreen/download_dialog.dart b/lib/components/AlbumScreen/download_dialog.dart index 6639e8e4f..7531914d0 100644 --- a/lib/components/AlbumScreen/download_dialog.dart +++ b/lib/components/AlbumScreen/download_dialog.dart @@ -37,8 +37,7 @@ class DownloadDialog extends StatefulWidget { /// if transcode downloads is set to ask. If neither is needed, the /// download is initiated immediately with no dialog. static Future show( - BuildContext context, DownloadStub item, String? viewId, - {bool infoOnly = false}) async { + BuildContext context, DownloadStub item, String? viewId) async { if (viewId == null) { final finampUserHelper = GetIt.instance(); viewId = finampUserHelper.currentUser!.currentViewId; @@ -49,8 +48,8 @@ class DownloadDialog extends StatefulWidget { // Skip asking for transcode for image only collection item.finampCollection?.type != FinampCollectionType.libraryImages || // Skip asking for transcode for metadata +image collection - (item.finampCollection?.type != FinampCollectionType.allPlaylists && - infoOnly); + (item.finampCollection?.type != + FinampCollectionType.allPlaylistsMetadata); String? downloadLocation = FinampSettingsHelper.finampSettings.defaultDownloadLocation; if (!FinampSettingsHelper.finampSettings.downloadLocationsMap