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

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 {
"∞/∞"
}