focus picker
This commit is contained in:
@@ -375,7 +375,9 @@ private struct SwitcherBox: View {
|
|||||||
.overlay(RoundedRectangle(cornerRadius: 10).stroke(Palette.border))
|
.overlay(RoundedRectangle(cornerRadius: 10).stroke(Palette.border))
|
||||||
.shadow(color: .black.opacity(0.18), radius: 14, y: 8)
|
.shadow(color: .black.opacity(0.18), radius: 14, y: 8)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
focused = true
|
DispatchQueue.main.async {
|
||||||
|
focused = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.onChange(of: model.focusRequest) {
|
.onChange(of: model.focusRequest) {
|
||||||
focused = true
|
focused = true
|
||||||
|
|||||||
Reference in New Issue
Block a user