From 6a2d5c9be61f2fc5740f1d04c69653a10f508d0b Mon Sep 17 00:00:00 2001 From: psmattas Date: Mon, 17 Aug 2026 21:53:06 +0100 Subject: [PATCH] feat(settings): Notifications document-access-requested toggle MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes out the Notifications page — all 13 event toggles + the All notifications master toggle now wired. --- Outpost/Features/Account/SettingsView.swift | 7 +++++++ 1 file changed, 7 insertions(+) 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)