mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-20 09:17:51 +00:00
fix(macos): satisfy channel config swiftformat
This commit is contained in:
parent
46bad8676c
commit
ac1b48efbc
1 changed files with 3 additions and 3 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue