focus picker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user