From 81bdd71558be32cd43d6740d974f93c83b470708 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Thu, 11 Apr 2024 16:56:32 +0200 Subject: [PATCH] fix: DownloadPlaylistDialog overflowing on small devices --- .../ui/dialogs/DownloadPlaylistDialog.kt | 1 - .../res/layout/dialog_download_playlist.xml | 61 +++++++++++-------- 2 files changed, 36 insertions(+), 26 deletions(-) diff --git a/app/src/main/java/com/github/libretube/ui/dialogs/DownloadPlaylistDialog.kt b/app/src/main/java/com/github/libretube/ui/dialogs/DownloadPlaylistDialog.kt index d7b53a699..1ad9a4ed0 100644 --- a/app/src/main/java/com/github/libretube/ui/dialogs/DownloadPlaylistDialog.kt +++ b/app/src/main/java/com/github/libretube/ui/dialogs/DownloadPlaylistDialog.kt @@ -48,7 +48,6 @@ class DownloadPlaylistDialog : DialogFragment() { return MaterialAlertDialogBuilder(requireContext()) .setTitle(getString(R.string.download_playlist) + ": " + playlistName) - .setMessage(R.string.download_playlist_note) .setView(binding.root) .setPositiveButton(R.string.download) { _, _ -> with(binding) { diff --git a/app/src/main/res/layout/dialog_download_playlist.xml b/app/src/main/res/layout/dialog_download_playlist.xml index cf797363b..751c713b4 100644 --- a/app/src/main/res/layout/dialog_download_playlist.xml +++ b/app/src/main/res/layout/dialog_download_playlist.xml @@ -1,38 +1,49 @@ - - + android:orientation="vertical"> - + - + - + - \ No newline at end of file + + + + + + + \ No newline at end of file