Skip to content

Commit 60f201a

Browse files
committed
refactor: Update comment
1 parent 862cbb7 commit 60f201a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/infomaniak/drive/data/services/UploadWorker.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class UploadWorker(appContext: Context, params: WorkerParameters) : CoroutineWor
174174

175175
// Stop recursion if all files have been processed and there are only errors.
176176
if (isLastFile && failedNamesMap.count() == UploadFile.getAllPendingUploadsCount()) break
177-
// If there is a new file during the sync and it has has priority (ex: Manual uploads),
177+
// If there is a new file during the sync and it has priority (ex: Manual uploads),
178178
// then we start again in order to process the priority files first.
179179
if (uploadFile.isSync() && UploadFile.getAllPendingPriorityFilesCount() > 0) return@withContext startSyncFiles()
180180
}

0 commit comments

Comments
 (0)