now the RYD view count will only be used if it reports a non-negative number (#17)

This commit is contained in:
polymorphicshade 2024-02-25 16:28:07 -07:00
parent 651be59f46
commit 9ca372689c

View file

@ -1579,7 +1579,7 @@ public final class VideoDetailFragment
}
// RYD override: views
if (rydInfo != null && isRydEnabled && overrideViewCount) {
if (rydInfo != null && isRydEnabled && overrideViewCount && rydInfo.viewCount > 0) {
binding.detailViewCountView.setText(Localization
.localizeViewCount(activity, rydInfo.viewCount));
}