Skip to content

Commit 5393094

Browse files
alperozturk96backportbot[bot]
authored andcommitted
fix(auto-upload): simplify error notification logic
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 7a8aaae commit 5393094

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/nextcloud/client/jobs/utils/UploadErrorNotificationManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ object UploadErrorNotificationManager {
3737
* by checking if the remote file is identical. If it's a "real" conflict or error,
3838
* it displays a notification with relevant actions (e.g., Resolve Conflict, Pause, Cancel).
3939
*
40-
* @param onSameFileConflict Triggered only if a 409 Conflict occurs but files are identical.
40+
* @param onSameFileConflict Triggered only if result code is SYNC_CONFLICT and files are identical.
4141
*/
4242
@Suppress("ReturnCount")
4343
suspend fun handleResult(

0 commit comments

Comments
 (0)