1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 08:30:44 +00:00

Merge pull request #5463 from Stypox/fix-feed-number

Fix number being shown instead of corresponding string resorce in feed
This commit is contained in:
XiangRongLin 2021-01-20 19:26:43 +01:00 committed by GitHub
commit 50c0f9e622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -236,7 +236,7 @@ class FeedFragment : BaseListFragment<FeedState, Unit>() {
feedBinding.loadingProgressText.text = if (!isIndeterminate) { feedBinding.loadingProgressText.text = if (!isIndeterminate) {
"${progressState.currentProgress}/${progressState.maxProgress}" "${progressState.currentProgress}/${progressState.maxProgress}"
} else if (progressState.progressMessage > 0) { } else if (progressState.progressMessage > 0) {
progressState.progressMessage.toString() getString(progressState.progressMessage)
} else { } else {
"∞/∞" "∞/∞"
} }