This commit is contained in:
Alfonso Grillo
2023-01-30 17:45:10 +01:00
parent ce6799f1b1
commit 1332322df9
5 changed files with 183 additions and 6 deletions
@@ -172,7 +172,7 @@ private extension NotificationSettingsViewModel {
enabled: Bool,
standardActions: NotificationStandardActions,
then rules: [NotificationPushRuleId]) {
viewState.saving = true
Task {
@@ -189,8 +189,7 @@ private extension NotificationSettingsViewModel {
try await group.waitForAll()
await completeUpdate(error: nil)
}
}
catch {
} catch {
await completeUpdate(error: error)
}
}