1
0
Fork 0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2025-10-03 01:39:38 +02:00

Update app/src/main/java/org/schabi/newpipe/ui/components/video/comment/CommentSection.kt

Co-authored-by: Isira Seneviratne <31027858+Isira-Seneviratne@users.noreply.github.com>
This commit is contained in:
Stt_lens 2025-08-04 16:51:57 -04:00 committed by Su TT
parent 848b8868fb
commit 9cbcaecb92

View file

@ -114,9 +114,8 @@ private fun CommentSection(
}
}
is LoadState.Error -> {
val error = (comments.loadState.refresh as LoadState.Error).error
val errorInfo = ErrorInfo(
throwable = error,
throwable = refresh.error,
userAction = UserAction.REQUESTED_COMMENTS,
request = "comments"
)