scroll last comment into view

This commit is contained in:
TobiGr 2023-08-31 13:42:07 +02:00 committed by Stypox
parent 5f32d001cc
commit b4016c91c1
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
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();
}