This commit is contained in:
Alfonso Grillo
2023-01-30 17:45:10 +01:00
parent c8ace35b0a
commit 857aa98430
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)
}
}