From 28565b691a4bd914597f271d3fcc8a3107e85e28 Mon Sep 17 00:00:00 2001 From: antonio Date: Sun, 13 Aug 2023 23:20:01 +0200 Subject: [PATCH] feat: always display the download button for tracks as users can now re-download the same track multiple times, either by relying on the original download endpoint or setting their preferred codec and bitrate --- .../ui/fragment/bottomsheetdialog/SongBottomSheetDialog.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/cappielloantonio/tempo/ui/fragment/bottomsheetdialog/SongBottomSheetDialog.java b/app/src/main/java/com/cappielloantonio/tempo/ui/fragment/bottomsheetdialog/SongBottomSheetDialog.java index 3b7c9a6f..1f1f2fa4 100644 --- a/app/src/main/java/com/cappielloantonio/tempo/ui/fragment/bottomsheetdialog/SongBottomSheetDialog.java +++ b/app/src/main/java/com/cappielloantonio/tempo/ui/fragment/bottomsheetdialog/SongBottomSheetDialog.java @@ -215,7 +215,6 @@ public class SongBottomSheetDialog extends BottomSheetDialogFragment implements private void initDownloadUI(TextView download, TextView remove) { if (DownloadUtil.getDownloadTracker(requireContext()).isDownloaded(song.getId())) { - download.setVisibility(View.GONE); remove.setVisibility(View.VISIBLE); } else { download.setVisibility(View.VISIBLE);