fix(ios): refine notification permission copy · openclaw/openclaw@5ae53cf
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("Warning: OpenClaw Hosted Push Relay", isPresented: self.$showNotificationRelayDisclosure) { |
| 229 | +.alert("Enable 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 |
|---|
@@ -811,7 +811,7 @@ extension SettingsProTab {
|
811 | 811 | case .notAllowed: |
812 | 812 | "Notifications have been denied. Enable them in iOS Settings." |
813 | 813 | case .notSet: |
814 | | -"Enable notifications here to receive approval prompts and event alerts outside the app." |
| 814 | +"Enable notifications to receive approval prompts and event alerts outside the app." |
815 | 815 | case .unknown: |
816 | 816 | "OpenClaw cannot determine the current notification permission state." |
817 | 817 | } |
@@ -828,6 +828,6 @@ extension SettingsProTab {
|
828 | 828 | } |
829 | 829 | |
830 | 830 | var notificationRelayDisclosureMessage: String { |
831 | | -"Enabling Notifications sends delivery data through OpenClaw's hosted push relay." |
| 831 | +"Enabling this sends delivery data through OpenClaw's hosted push relay." |
832 | 832 | } |
833 | 833 | } |
| Original file line number | Diff line number | Diff line change |
|---|
@@ -313,7 +313,7 @@ extension SettingsProTab {
|
313 | 313 | : (self.pendingApproval == nil ? "No gateway actions are waiting for review." : |
314 | 314 | "Review the pending gateway action."), |
315 | 315 | value: self.notificationsNeedAttention |
316 | | -? "alerts off" |
| 316 | +? "Alerts Off" |
317 | 317 | : (self.pendingApproval == nil ? "clear" : "1 waiting"), |
318 | 318 | color: self.notificationsNeedAttention ? OpenClawBrand.warn : |
319 | 319 | (self.pendingApproval == nil ? OpenClawBrand.ok : OpenClawBrand.warn)) |
@@ -336,8 +336,6 @@ extension SettingsProTab {
|
336 | 336 | .font(.subheadline.weight(.semibold)) |
337 | 337 | Text( |
338 | 338 | """ |
339 | | - Exec approvals can only be reviewed while OpenClaw is open and connected. |
340 | | - |
341 | 339 | Enable Notifications to receive approval notifications while OpenClaw is not open. |
342 | 340 | """) |
343 | 341 | .font(.caption) |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。