From e34a20bce6df7a19f4280cbd93cc2a58acd56b15 Mon Sep 17 00:00:00 2001 From: rebelonion <87634197+rebelonion@users.noreply.github.com> Date: Fri, 29 Mar 2024 18:04:19 -0500 Subject: [PATCH] fix: comment scrolling freezing --- .../main/java/ani/dantotsu/media/comments/CommentsFragment.kt | 2 +- app/src/main/res/layout/fragment_comments.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt b/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt index ff362563b3..fec27104b5 100644 --- a/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt +++ b/app/src/main/java/ani/dantotsu/media/comments/CommentsFragment.kt @@ -75,7 +75,7 @@ class CommentsFragment : Fragment() { super.onViewCreated(view, savedInstanceState) activity = requireActivity() as MediaDetailsActivity - binding.commentsList.setBaseline(activity.navBar, activity.binding.commentInputLayout) + binding.commentsListContainer.setBaseline(activity.navBar, activity.binding.commentInputLayout) //get the media id from the intent val mediaId = arguments?.getInt("mediaId") ?: -1 diff --git a/app/src/main/res/layout/fragment_comments.xml b/app/src/main/res/layout/fragment_comments.xml index 59f93c50fd..ee2002fcf6 100644 --- a/app/src/main/res/layout/fragment_comments.xml +++ b/app/src/main/res/layout/fragment_comments.xml @@ -59,6 +59,7 @@ tools:visibility="gone"/>