Skip to content

Commit 8ced7de

Browse files
authored
Omit sensory feedback on visionOS (#19)
1 parent b9065bd commit 8ced7de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

VoiceAssistant/Connect/ControlBar.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ struct ControlBar: View {
8787
}
8888
}
8989
.animation(.spring(duration: 0.3), value: currentConfiguration)
90+
#if !os(visionOS)
9091
.sensoryFeedback(.impact, trigger: isConnecting)
9192
.sensoryFeedback(.impact, trigger: isDisconnecting)
93+
#endif
9294
}
9395

9496
/// Fetches a token and connects to the LiveKit room

0 commit comments

Comments
 (0)