String Formatting Fixes (#3118)

String Formatting Fixes
This commit is contained in:
MCAxiaz
2020-05-08 18:44:01 -07:00
committed by GitHub
parent 40776bdc8d
commit a20874f6a1
3 changed files with 7 additions and 5 deletions

View File

@@ -94,8 +94,9 @@ internal class DownloadNotifier(private val context: Context) {
)
}
val downloadingProgressText = context.getString(R.string.chapter_downloading_progress)
.format(download.downloadedImages, download.pages!!.size)
val downloadingProgressText = context.getString(
R.string.chapter_downloading_progress, download.downloadedImages, download.pages!!.size
)
if (preferences.hideNotificationContent()) {
setContentTitle(downloadingProgressText)