File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/main/java/org/schabi/newpipe/ui/components/channel Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import androidx.compose.ui.unit.dp
1515import org.schabi.newpipe.R
1616import org.schabi.newpipe.extractor.Image
1717import org.schabi.newpipe.extractor.Image.ResolutionLevel
18+ import org.schabi.newpipe.extractor.stream.StreamExtractor
1819import org.schabi.newpipe.ui.components.metadata.ImageMetadataItem
1920import org.schabi.newpipe.ui.components.metadata.MetadataItem
2021import org.schabi.newpipe.ui.components.metadata.TagsSection
@@ -35,7 +36,7 @@ fun AboutChannelSection(channelInfo: ParcelableChannelInfo) {
3536 Text (text = description)
3637 }
3738
38- if (count != - 1L ) {
39+ if (count != StreamExtractor . UNKNOWN_SUBSCRIBER_COUNT ) {
3940 MetadataItem (
4041 title = R .string.metadata_subscribers,
4142 value = Localization .shortCount(LocalContext .current, count)
You can’t perform that action at this time.
0 commit comments