Fix number being shown instead of corresponding string resorce in feed

This commit is contained in:
Stypox 2021-01-20 10:44:44 +01:00
parent 9a65f02d5b
commit 10ec67854e
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
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 {
"∞/∞"
}