scroll last comment into view

This commit is contained in:
TobiGr 2023-08-31 13:42:07 +02:00 committed by Stypox
parent 8b064d77b8
commit df5e35e315
5 changed files with 59 additions and 9 deletions

View file

@ -504,7 +504,8 @@ public final class NavigationHelper {
public static void openCommentRepliesFragment(@NonNull final FragmentActivity activity,
final CommentsInfoItem commentsInfoItem) {
defaultTransaction(activity.getSupportFragmentManager())
.replace(R.id.fragment_holder, new CommentRepliesFragment(commentsInfoItem))
.replace(R.id.fragment_holder, new CommentRepliesFragment(commentsInfoItem),
CommentRepliesFragment.TAG)
.addToBackStack(CommentRepliesFragment.TAG)
.commit();
}