Skip to content

Commit 9c3b4dc

Browse files
committed
Add isLiveChat flag to CommentInfo
1 parent 453356a commit 9c3b4dc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • app/src/main/java/org/schabi/newpipe/ui/components/video/comment

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ class CommentInfo(
1212
val comments: List<CommentsInfoItem>,
1313
val nextPage: Page?,
1414
val commentCount: Int,
15-
val isCommentsDisabled: Boolean
15+
val isCommentsDisabled: Boolean,
16+
val isLiveChat: Boolean = false
1617
) {
1718
constructor(commentsInfo: CommentsInfo) : this(
1819
commentsInfo.serviceId,
1920
commentsInfo.url,
2021
commentsInfo.relatedItems,
2122
commentsInfo.nextPage,
2223
commentsInfo.commentsCount,
23-
commentsInfo.isCommentsDisabled
24+
commentsInfo.isCommentsDisabled,
25+
commentsInfo.isLiveChat
2426
)
2527
}

0 commit comments

Comments
 (0)