From 944d0bf373a92e89eb7b40ba207d8a3a3050e2c7 Mon Sep 17 00:00:00 2001 From: psmattas Date: Mon, 17 Aug 2026 21:52:33 +0100 Subject: [PATCH] feat(settings): Notifications group-mentions/resolved toggles --- Outpost/Features/Account/SettingsView.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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)