fix(macos): satisfy channel config swiftformat

This commit is contained in:
Vincent Koc 2026-05-18 16:20:27 +08:00
parent 46bad8676c
commit ac1b48efbc
No known key found for this signature in database

View file

@ -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: {