VisionOS fix

This commit is contained in:
Thomas Ricouard 2023-12-29 17:06:27 +01:00
parent c9dc24d02a
commit 6359349a40

View file

@ -267,6 +267,7 @@ struct StatusEditorAccessoryView: View {
return false return false
} }
#if !os(visionOS)
@ViewBuilder @ViewBuilder
private var giphyView: some View { private var giphyView: some View {
@Bindable var viewModel = focusedSEVM @Bindable var viewModel = focusedSEVM
@ -280,6 +281,7 @@ struct StatusEditorAccessoryView: View {
isGIFPickerPresented = false isGIFPickerPresented = false
} }
} }
#endif
private var draftsListView: some View { private var draftsListView: some View {
DraftsListView(selectedDraft: .init(get: { DraftsListView(selectedDraft: .init(get: {