mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-03 09:49:21 +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:
parent
848b8868fb
commit
9cbcaecb92
1 changed files with 1 additions and 2 deletions
|
@ -114,9 +114,8 @@ private fun CommentSection(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
is LoadState.Error -> {
|
is LoadState.Error -> {
|
||||||
val error = (comments.loadState.refresh as LoadState.Error).error
|
|
||||||
val errorInfo = ErrorInfo(
|
val errorInfo = ErrorInfo(
|
||||||
throwable = error,
|
throwable = refresh.error,
|
||||||
userAction = UserAction.REQUESTED_COMMENTS,
|
userAction = UserAction.REQUESTED_COMMENTS,
|
||||||
request = "comments"
|
request = "comments"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue