mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-23 06:53:36 +00:00
fix(macos): satisfy channel config swiftformat
This commit is contained in:
@@ -282,11 +282,10 @@ struct ConfigSchemaForm: View {
|
||||
"webhookUrl",
|
||||
]
|
||||
|
||||
@ViewBuilder
|
||||
private func renderChannelQuickField<Control: View>(
|
||||
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<String> {
|
||||
Binding(
|
||||
get: {
|
||||
|
||||
Reference in New Issue
Block a user