diff --git a/Outpost/Features/Account/SettingsView.swift b/Outpost/Features/Account/SettingsView.swift index 6ab63bc..5445e84 100644 --- a/Outpost/Features/Account/SettingsView.swift +++ b/Outpost/Features/Account/SettingsView.swift @@ -589,6 +589,20 @@ struct SettingsView: View { isOn: [NotificationEventType.commentMentioned, .documentMentioned].allSatisfy { session.userNotificationSettings?[$0.rawValue] ?? false }, onChange: { newValue in Task { await setNotifications([.commentMentioned, .documentMentioned], subscribed: newValue) } } ) + Divider() + notificationToggleRow( + "Group mentions", + description: "Receive a notification when someone mentions a group you are a member of in a document or comment", + isOn: [NotificationEventType.commentGroupMentioned, .documentGroupMentioned].allSatisfy { session.userNotificationSettings?[$0.rawValue] ?? false }, + onChange: { newValue in Task { await setNotifications([.commentGroupMentioned, .documentGroupMentioned], subscribed: newValue) } } + ) + Divider() + notificationToggleRow( + "Resolved", + description: "Receive a notification when a comment thread you were involved in is resolved", + isOn: session.userNotificationSettings?[NotificationEventType.commentResolve.rawValue] ?? false, + onChange: { newValue in Task { await setNotifications([.commentResolve], subscribed: newValue) } } + ) if let notificationsErrorMessage { Text(notificationsErrorMessage)