fix(ios): update notification permission copy · openclaw/openclaw@1168ac2
joshavant
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -226,7 +226,7 @@ struct SettingsProTab: View {
|
226 | 226 | } message: { |
227 | 227 | Text(self.scannerError ?? "") |
228 | 228 | } |
229 | | -.alert("OpenClaw Hosted Push Relay", isPresented: self.$showNotificationRelayDisclosure) { |
| 229 | +.alert("Warning: OpenClaw Hosted Push Relay", isPresented: self.$showNotificationRelayDisclosure) { |
230 | 230 | Button("Continue") { |
231 | 231 | self.requestNotificationAuthorizationFromSettings() |
232 | 232 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -809,7 +809,7 @@ extension SettingsProTab {
|
809 | 809 | case .allowed: |
810 | 810 | "OpenClaw can show approval prompts and event alerts when the app is not active." |
811 | 811 | case .notAllowed: |
812 | | -"iOS is blocking OpenClaw notifications. Enable them in iOS Settings." |
| 812 | +"Notifications have been denied. Enable them in iOS Settings." |
813 | 813 | case .notSet: |
814 | 814 | "Enable notifications here to receive approval prompts and event alerts outside the app." |
815 | 815 | case .unknown: |
@@ -828,10 +828,6 @@ extension SettingsProTab {
|
828 | 828 | } |
829 | 829 | |
830 | 830 | var notificationRelayDisclosureMessage: String { |
831 | | -let relayHost = PushBuildConfig.openClawHostedRelayHost |
832 | | -return """ |
833 | | - This build sends push notification delivery data through OpenClaw's hosted relay at \(relayHost). \ |
834 | | - Continue only if you want OpenClaw to request iOS notification access. |
835 | | - """ |
| 831 | +"Enabling Notifications sends delivery data through OpenClaw's hosted push relay." |
836 | 832 | } |
837 | 833 | } |
| Original file line number | Diff line number | Diff line change |
|---|
@@ -332,12 +332,13 @@ extension SettingsProTab {
|
332 | 332 | HStack(alignment: .top, spacing: 12) { |
333 | 333 | ProIconBadge(systemName: "bell.slash.fill", color: OpenClawBrand.warn) |
334 | 334 | VStack(alignment: .leading, spacing: 4) { |
335 | | -Text("Approval alerts are off") |
| 335 | +Text("Notifications are off") |
336 | 336 | .font(.subheadline.weight(.semibold)) |
337 | 337 | Text( |
338 | 338 | """ |
339 | | - OpenClaw can still show approval review while the app is open and connected. \ |
340 | | - Enable Notifications to receive approval prompts outside the app. |
| 339 | + Exec approvals can only be reviewed while OpenClaw is open and connected. |
| 340 | + |
| 341 | + Enable Notifications to receive approval notifications while OpenClaw is not open. |
341 | 342 | """) |
342 | 343 | .font(.caption) |
343 | 344 | .foregroundStyle(.secondary) |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -90,7 +90,7 @@ enum SettingsNotificationStatus: Equatable {
|
90 | 90 | switch self { |
91 | 91 | case .checking: "Checking" |
92 | 92 | case .allowed: "Enabled" |
93 | | -case .notAllowed: "Blocked" |
| 93 | +case .notAllowed: "Denied" |
94 | 94 | case .notSet: "Not Enabled" |
95 | 95 | case .unknown: "Unknown" |
96 | 96 | } |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -52,12 +52,13 @@ private struct NotificationPermissionGuidanceCard: View {
|
52 | 52 | var body: some View { |
53 | 53 | VStack(alignment: .leading, spacing: 14) { |
54 | 54 | VStack(alignment: .leading, spacing: 6) { |
55 | | -Text("Approval alerts are off") |
| 55 | +Text("Notifications are off") |
56 | 56 | .font(.headline) |
57 | 57 | Text( |
58 | 58 | """ |
59 | | - This request can still be reviewed while OpenClaw is open and connected. Enable \ |
60 | | - Notifications to receive approval prompts outside the app. |
| 59 | + Exec approvals can only be reviewed while OpenClaw is open and connected. |
| 60 | + |
| 61 | + Enable Notifications to receive approval notifications while OpenClaw is not open. |
61 | 62 | """) |
62 | 63 | .font(.subheadline) |
63 | 64 | .foregroundStyle(.secondary) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。