We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5ee21 commit 20cf841Copy full SHA for 20cf841
shared/src/commonMain/kotlin/uk/co/sentinelweb/cuer/app/service/transfers/MemoryTransfersService.kt
@@ -70,7 +70,7 @@ class MemoryTransfersService(
70
if (isWifiConnected) {
71
checkPendingTransfers()
72
} else {
73
- putAllInProgressJobsToPending()
+ putAllInProgressJobsToConfirmed()
74
}
75
76
}.launchIn(scope)
@@ -111,10 +111,10 @@ class MemoryTransfersService(
111
112
113
114
- private fun putAllInProgressJobsToPending() {
+ private fun putAllInProgressJobsToConfirmed() {
115
inProgressTransfers.forEach {
116
it.job.cancel()
117
- addReplaceTransfer(it.transfer.copy(status = Pending))
+ addReplaceTransfer(it.transfer.copy(status = Confirmed))
118
119
inProgressTransfers.clear()
120
0 commit comments