From 78e3566a8e437a195b4032cb168c41e5d8aff79f Mon Sep 17 00:00:00 2001 From: psmattas Date: Tue, 18 Aug 2026 16:54:45 +0100 Subject: [PATCH] fix(settings): show offline hint on Passkeys, clearer API key web-only message Passkeys was the only implemented section missing the standard offline banner. Reworded the API key create/delete popup to state plainly it's only supported on Outline's web version, matching Passkeys' own phrasing style instead of the more roundabout original wording. --- Outpost/Features/Account/SettingsView.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Outpost/Features/Account/SettingsView.swift b/Outpost/Features/Account/SettingsView.swift index 42eb31f..f12443f 100644 --- a/Outpost/Features/Account/SettingsView.swift +++ b/Outpost/Features/Account/SettingsView.swift @@ -743,6 +743,10 @@ struct SettingsView: View { .foregroundStyle(.secondary) .frame(maxWidth: 480, alignment: .leading) + if !isEffectivelyOnline { + offlineSettingsHint + } + Label("This setting can only be changed from the web version of Outline.", systemImage: "lock.fill") .font(.callout) .foregroundStyle(.secondary) @@ -817,7 +821,7 @@ struct SettingsView: View { .alert("Manage API Keys on the Web", isPresented: $isShowingApiKeyWebOnlyNotice) { Button("OK") {} } message: { - Text("Creating and deleting personal API keys currently requires Outline's web app, the same way Passkeys does — this app can only display your existing keys for now. We may add this here in the future if Outline supports it or we add the right kind of authentication.") + Text("Creating and deleting personal API keys is only supported on the web version of Outline. This app can display your existing keys, but not create or delete them.") } }