From ac1b48efbcec73efb777907ef6acc91d4fcae8da Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Mon, 18 May 2026 16:20:27 +0800 Subject: [PATCH] fix(macos): satisfy channel config swiftformat --- apps/macos/Sources/OpenClaw/ChannelConfigForm.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/macos/Sources/OpenClaw/ChannelConfigForm.swift b/apps/macos/Sources/OpenClaw/ChannelConfigForm.swift index df82101942c..9bdec361fbe 100644 --- a/apps/macos/Sources/OpenClaw/ChannelConfigForm.swift +++ b/apps/macos/Sources/OpenClaw/ChannelConfigForm.swift @@ -282,11 +282,10 @@ struct ConfigSchemaForm: View { "webhookUrl", ] - @ViewBuilder - private func renderChannelQuickField( + private func renderChannelQuickField( title: String?, subtitle: String?, - @ViewBuilder control: () -> Control) -> some View + @ViewBuilder control: () -> some View) -> some View { SettingsCardRow(title: title ?? "Value", subtitle: subtitle) { control() @@ -514,6 +513,7 @@ struct ConfigSchemaForm: View { } } } + private func stringBinding(_ path: ConfigPath, defaultValue: String?) -> Binding { Binding( get: {