From 1bbd5c7591534eac865e51e5882bc09a8e40a2a3 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sun, 29 Oct 2023 15:53:03 +0100 Subject: [PATCH] fix: hide scroll to top button for replies --- .../github/libretube/ui/fragments/CommentsRepliesFragment.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/github/libretube/ui/fragments/CommentsRepliesFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/CommentsRepliesFragment.kt index a301d1242..341198936 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/CommentsRepliesFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/CommentsRepliesFragment.kt @@ -55,6 +55,9 @@ class CommentsRepliesFragment : Fragment() { val binding = _binding ?: return + val commentsSheet = parentFragment as? CommentsSheet + commentsSheet?.binding?.btnScrollToTop?.isGone = true + repliesAdapter = CommentsAdapter( null, videoId,