Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbzurovski committed Jul 10, 2024
1 parent 164a233 commit 4f1f303
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,14 @@ extension SecurityCenterClient {
}

func hasProblem5() -> Bool {
if isCloudProfileSyncEnabled, let cloudBackup = backups.cloud {
cloudBackup.result.failed
} else {
false
guard isCloudProfileSyncEnabled else {
return false
}
guard let cloudBackup = backups.cloud else {
return true
}

return !cloudBackup.result.succeeded
}

func hasProblem6() -> Bool {
Expand Down

0 comments on commit 4f1f303

Please sign in to comment.