diff --git a/Outpost/Features/Account/SettingsView.swift b/Outpost/Features/Account/SettingsView.swift index 8be3224..433a4af 100644 --- a/Outpost/Features/Account/SettingsView.swift +++ b/Outpost/Features/Account/SettingsView.swift @@ -645,6 +645,13 @@ struct SettingsView: View { isOn: session.userNotificationSettings?[NotificationEventType.emailsExportCompleted.rawValue] ?? false, onChange: { newValue in Task { await setNotifications([.emailsExportCompleted], subscribed: newValue) } } ) + Divider() + notificationToggleRow( + "Document access requested", + description: "Receive a notification when a user requests access to a document you manage", + isOn: session.userNotificationSettings?[NotificationEventType.accessRequestCreate.rawValue] ?? false, + onChange: { newValue in Task { await setNotifications([.accessRequestCreate], subscribed: newValue) } } + ) if let notificationsErrorMessage { Text(notificationsErrorMessage)