ui(macos): fix security notice wrapping

This commit is contained in:
Peter Steinberger
2025-12-14 03:57:32 +00:00
parent 8649de6199
commit e9e2e5026c

View File

@@ -189,15 +189,10 @@ struct OnboardingView: View {
Text("Security notice") Text("Security notice")
.font(.headline) .font(.headline)
Text( Text(
""" "The connected AI agent (e.g. Claude) can trigger powerful actions on your Mac, " +
The connected AI agent (e.g. Claude) can trigger powerful actions on your Mac, "including running commands, reading/writing files, and capturing screenshots — " +
including running "depending on the permissions you grant.\n\n" +
commands, reading/writing files, and capturing screenshots — depending on the "Only enable Clawdis if you understand the risks and trust the prompts and integrations you use.")
permissions you grant.
Only enable Clawdis if you understand the risks and trust the prompts
and integrations you use.
""")
.font(.subheadline) .font(.subheadline)
.foregroundStyle(.secondary) .foregroundStyle(.secondary)
.fixedSize(horizontal: false, vertical: true) .fixedSize(horizontal: false, vertical: true)