From 56e9dbd7b5409d4bcbbb41aca170d161cba32621 Mon Sep 17 00:00:00 2001 From: IndusAryan <125901294+IndusAryan@users.noreply.github.com> Date: Thu, 17 Aug 2023 18:54:51 +0530 Subject: [PATCH 1/3] Remove useless attribute --- app/src/main/res/layout/queue_bottom_sheet.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/res/layout/queue_bottom_sheet.xml b/app/src/main/res/layout/queue_bottom_sheet.xml index 7e876c7059..1a7edcc14c 100644 --- a/app/src/main/res/layout/queue_bottom_sheet.xml +++ b/app/src/main/res/layout/queue_bottom_sheet.xml @@ -83,7 +83,6 @@ android:id="@+id/dismiss" android:tooltipText="@string/tooltip_dismiss" style="@style/QueueSheetOption" - android:layout_width="0dp" android:layout_weight="1" android:src="@drawable/ic_arrow_down" /> @@ -93,4 +92,4 @@ - \ No newline at end of file + From 6cf2e134435f6f8c0ec3cc4e3a80e1f55c7cfd6c Mon Sep 17 00:00:00 2001 From: IndusAryan <125901294+IndusAryan@users.noreply.github.com> Date: Thu, 17 Aug 2023 18:56:11 +0530 Subject: [PATCH 2/3] Change id to dismiss --- .../java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt index 9b4724c004..4f1b036d46 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/PlayingQueueSheet.kt @@ -94,7 +94,7 @@ class PlayingQueueSheet : ExpandedBottomSheet() { showSortDialog() } - binding.bottomControls.setOnClickListener { + binding.dismiss.setOnClickListener { dialog?.dismiss() } From aeb230be8eeaa1089abdbf4c692e7442e54a180e Mon Sep 17 00:00:00 2001 From: IndusAryan <125901294+IndusAryan@users.noreply.github.com> Date: Thu, 17 Aug 2023 19:20:52 +0530 Subject: [PATCH 3/3] revert attribute removal --- app/src/main/res/layout/queue_bottom_sheet.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/queue_bottom_sheet.xml b/app/src/main/res/layout/queue_bottom_sheet.xml index 1a7edcc14c..953f06909a 100644 --- a/app/src/main/res/layout/queue_bottom_sheet.xml +++ b/app/src/main/res/layout/queue_bottom_sheet.xml @@ -83,6 +83,7 @@ android:id="@+id/dismiss" android:tooltipText="@string/tooltip_dismiss" style="@style/QueueSheetOption" + android:layout_width="0dp" android:layout_weight="1" android:src="@drawable/ic_arrow_down" />