diff --git a/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt b/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt index 45aeeb6ffa..bbe0f0d6d6 100644 --- a/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt +++ b/app/src/main/java/com/nextcloud/client/jobs/FilesSyncWork.kt @@ -113,8 +113,8 @@ class FilesSyncWork( if (syncedFolderProvider.syncedFolders.all { it.isChargingOnly } && !powerManagementService.battery.isCharging && - !powerManagementService.battery.isFull) { - + !powerManagementService.battery.isFull + ) { Log_OC.d(TAG, "FILESYNC Kill Sync Worker since no sync folder is enabled!") canExitEarly = true }