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
1 changed files with 1 additions and 1 deletions

View File

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