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()) .contentShape(Rectangle())
.background( .background(
RoundedRectangle(cornerRadius: 6) RoundedRectangle(cornerRadius: 6)
.fill(Color(nsColor: .textBackgroundColor)) .fill(
) Color(nsColor: .textBackgroundColor)))
.overlay( .overlay(
RoundedRectangle(cornerRadius: 6) 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) { .popover(isPresented: self.$isModelPickerOpen, arrowEdge: .bottom) {
self.modelPickerPopover self.modelPickerPopover
} }