diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index e5a7f02136..416fe541db 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -325,6 +325,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { binding.player.hideController() binding.player.useController = false commentsViewModel.setCommentSheetExpand(false) + chaptersBottomSheet?.dismiss() transitionEndId = endId transitionStartId = startId } diff --git a/app/src/main/res/layout/bottom_sheet.xml b/app/src/main/res/layout/bottom_sheet.xml index e446e78005..4dab7eb3f5 100644 --- a/app/src/main/res/layout/bottom_sheet.xml +++ b/app/src/main/res/layout/bottom_sheet.xml @@ -28,7 +28,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:paddingBottom="16dp" + android:paddingBottom="12dp" android:visibility="gone">