mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 22:55:46 +03:00
Fix spotless
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
This commit is contained in:
parent
9cbdbead08
commit
98586faa77
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue