mirror of
https://github.com/MaintainTeam/LastPipeBender.git
synced 2025-03-01 05:48:22 +03:00
now the RYD view count will only be used if it reports a non-negative number (#17)
This commit is contained in:
parent
651be59f46
commit
9ca372689c
1 changed files with 1 additions and 1 deletions
|
@ -1579,7 +1579,7 @@ public final class VideoDetailFragment
|
||||||
}
|
}
|
||||||
|
|
||||||
// RYD override: views
|
// RYD override: views
|
||||||
if (rydInfo != null && isRydEnabled && overrideViewCount) {
|
if (rydInfo != null && isRydEnabled && overrideViewCount && rydInfo.viewCount > 0) {
|
||||||
binding.detailViewCountView.setText(Localization
|
binding.detailViewCountView.setText(Localization
|
||||||
.localizeViewCount(activity, rydInfo.viewCount));
|
.localizeViewCount(activity, rydInfo.viewCount));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue