diff --git a/Outpost/Features/Account/SettingsView.swift b/Outpost/Features/Account/SettingsView.swift index 5445e84..be210c1 100644 --- a/Outpost/Features/Account/SettingsView.swift +++ b/Outpost/Features/Account/SettingsView.swift @@ -603,6 +603,20 @@ struct SettingsView: View { isOn: session.userNotificationSettings?[NotificationEventType.commentResolve.rawValue] ?? false, onChange: { newValue in Task { await setNotifications([.commentResolve], subscribed: newValue) } } ) + Divider() + notificationToggleRow( + "Reaction added", + description: "Receive a notification when someone reacts to your comment", + isOn: session.userNotificationSettings?[NotificationEventType.reactionCreate.rawValue] ?? false, + onChange: { newValue in Task { await setNotifications([.reactionCreate], subscribed: newValue) } } + ) + Divider() + notificationToggleRow( + "Collection created", + description: "Receive a notification whenever a new collection is created", + isOn: session.userNotificationSettings?[NotificationEventType.collectionCreate.rawValue] ?? false, + onChange: { newValue in Task { await setNotifications([.collectionCreate], subscribed: newValue) } } + ) if let notificationsErrorMessage { Text(notificationsErrorMessage)