Fix compilation error from Ktor upgrade
This commit is contained in:
parent
dbf2b92921
commit
d51054848a
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class HpScannerService(
|
|||
}
|
||||
) {
|
||||
onDownload { bytesSentTotal, contentLength ->
|
||||
onProgress(bytesSentTotal, contentLength)
|
||||
onProgress(bytesSentTotal, contentLength?: 0L)
|
||||
}
|
||||
}
|
||||
val responseBody: ByteArray = httpResponse.body()
|
||||
|
|
Loading…
Reference in a new issue