From 6425bf04883bd827a1db36ec2a3f8febb49da806 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 17 Oct 2026 08:28:08 -0700 Subject: [PATCH] focus picker --- mac/Sources/Byre/Switcher.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mac/Sources/Byre/Switcher.swift b/mac/Sources/Byre/Switcher.swift index eaed18b..823cfb6 100644 --- a/mac/Sources/Byre/Switcher.swift +++ b/mac/Sources/Byre/Switcher.swift @@ -375,7 +375,9 @@ private struct SwitcherBox: View { .overlay(RoundedRectangle(cornerRadius: 10).stroke(Palette.border)) .shadow(color: .black.opacity(0.18), radius: 14, y: 8) .onAppear { - focused = true + DispatchQueue.main.async { + focused = true + } } .onChange(of: model.focusRequest) { focused = true