mirror of
https://github.com/nextcloud/android.git
synced 2024-11-29 10:49:04 +03:00
every user can cancel the worker
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
043c8b390e
commit
5137bc6574
1 changed files with 1 additions and 1 deletions
|
@ -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 ->
|
||||
|
|
Loading…
Reference in a new issue