Commit 537a6893 by Aleksandr

fix some issues

parent 48061c77
...@@ -134,7 +134,7 @@ class JobDetailsViewModel @Inject constructor( ...@@ -134,7 +134,7 @@ class JobDetailsViewModel @Inject constructor(
setState { copy(renderProgress = Pair(position, total), uploadProgress = null) } setState { copy(renderProgress = Pair(position, total), uploadProgress = null) }
} }
private fun onUploadProgress(jobId: String, position: Int, total: Int) { private fun onUploadProgress(jobId: String?, position: Int, total: Int) {
if (jobId != _jobId) return if (jobId != _jobId) return
setState { copy(uploadProgress = Pair(position, total), renderProgress = null) } setState { copy(uploadProgress = Pair(position, total), renderProgress = null) }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment