mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Add UTs
This commit is contained in:
+2
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user