dependencies = self.dependencies, let team = self.team else { return } let isDND = team.isDND || team.isSnoozed let isSlackNotifsOff = dependencies.notificationPrefs.notificationSetting == .nothing slackNotificationStateObservable.value = isDND || isSlackNotifsOff ? .failed : .success guard let dependencies = self.dependencies, let team = self.team else { return } let isDND = team.isDND || team.isSnoozed let isSlackNotifsOff = dependencies.notificationPrefs.notificationSetting == .nothing slackNotificationStateObservable.value = isDND || isSlackNotifsOff ? .failed : .success