macOS: fix model picker formatting + protocol sync

This commit is contained in:
benithors
2026-01-10 23:10:39 +01:00
committed by Peter Steinberger
parent 04951b0629
commit 7fb0b4e1eb

View File

@@ -138,12 +138,13 @@ struct ConfigSettings: View {
.contentShape(Rectangle())
.background(
RoundedRectangle(cornerRadius: 6)
.fill(Color(nsColor: .textBackgroundColor))
)
.fill(
Color(nsColor: .textBackgroundColor)))
.overlay(
RoundedRectangle(cornerRadius: 6)
.stroke(Color.secondary.opacity(0.25), lineWidth: 1)
)
.stroke(
Color.secondary.opacity(0.25),
lineWidth: 1))
.popover(isPresented: self.$isModelPickerOpen, arrowEdge: .bottom) {
self.modelPickerPopover
}
@@ -783,8 +784,8 @@ struct ConfigSettings: View {
choice.provider,
self.modelRef(for: choice),
]
.joined(separator: " ")
.lowercased()
.joined(separator: " ")
.lowercased()
return tokens.allSatisfy { haystack.contains($0) }
}
}