diff --git a/app/src/main/java/com/owncloud/android/ui/activity/InternalTwoWaySyncActivity.kt b/app/src/main/java/com/owncloud/android/ui/activity/InternalTwoWaySyncActivity.kt index fdc5c149f4..fbd0dcc26a 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/InternalTwoWaySyncActivity.kt +++ b/app/src/main/java/com/owncloud/android/ui/activity/InternalTwoWaySyncActivity.kt @@ -94,7 +94,7 @@ class InternalTwoWaySyncActivity : DrawerActivity(), Injectable { private fun disableTwoWaySyncAndWorkers() { lifecycleScope.launch(Dispatchers.IO) { - backgroundJobManager.cancelTwoWaySyncJob(user.get()) + backgroundJobManager.cancelTwoWaySyncJob() val folders = fileDataStorageManager.getInternalTwoWaySyncFolders(user.get()) folders.forEach { folder ->