We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 350d08b + 58efbf4 commit c3c353fCopy full SHA for c3c353f
1 file changed
app/src/main/java/org/schabi/newpipe/database/subscription/SubscriptionEntity.kt
@@ -55,8 +55,8 @@ data class SubscriptionEntity(
55
fun toChannelInfoItem(): ChannelInfoItem {
56
return ChannelInfoItem(this.serviceId, this.url, this.name).apply {
57
thumbnails = ImageStrategy.dbUrlToImageList(this@SubscriptionEntity.avatarUrl)
58
- subscriberCount = this.subscriberCount
59
- description = this.description
+ subscriberCount = this@SubscriptionEntity.subscriberCount ?: -1
+ description = this@SubscriptionEntity.description
60
}
61
62
0 commit comments