1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-08-29 17:07:55 +00:00

Merge pull request #12202 from AndrianaBilali/fix/timestamp-clicks-in-replies

Fix timestamps not working in comment replies
This commit is contained in:
Profpatsch
2025-05-07 12:07:03 +02:00
committed by GitHub

View File

@@ -28,6 +28,7 @@ import org.schabi.newpipe.util.NavigationHelper;
import org.schabi.newpipe.util.image.ImageStrategy;
import org.schabi.newpipe.util.image.PicassoHelper;
import org.schabi.newpipe.util.text.TextLinkifier;
import org.schabi.newpipe.util.text.LongPressLinkMovementMethod;
import java.util.Queue;
import java.util.function.Supplier;
@@ -110,7 +111,7 @@ public final class CommentRepliesFragment
TextLinkifier.fromDescription(binding.commentContent, item.getCommentText(),
HtmlCompat.FROM_HTML_MODE_LEGACY, getServiceById(item.getServiceId()),
item.getUrl(), disposables, null);
binding.commentContent.setMovementMethod(LongPressLinkMovementMethod.getInstance());
return binding.getRoot();
};
}