Skip to content

Commit 702a568

Browse files
committed
Cleanup
1 parent 3d5922c commit 702a568

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

VoiceAgent/App/AppView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ struct AppView: View {
2727
.glassBackgroundEffect()
2828
}
2929
}
30-
.alert("warning.reconnecting", isPresented: .constant(session.connectionState == .reconnecting)) {}
3130
.alert(session.error?.localizedDescription ?? "error.title", isPresented: .constant(session.error != nil)) {
3231
Button("error.ok") { session.dismissError() }
3332
}

VoiceAgent/ControlBar/AudioDeviceSelector.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import LiveKitComponents
1+
import LiveKit
22
import SwiftUI
33

44
#if os(macOS)

VoiceAgent/Helpers/Environment.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import LiveKit
21
import SwiftUI
32

43
extension EnvironmentValues {

VoiceAgent/Interactions/VisionInteractionView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct VisionInteractionView: View {
1010
HStack {
1111
participants().rotation3DEffect(.degrees(30), axis: .y, anchor: .trailing)
1212
agent()
13-
chats().rotation3DEffect(.degrees(-30), axis: .y, anchor: .leading)
13+
chatView().rotation3DEffect(.degrees(-30), axis: .y, anchor: .leading)
1414
}
1515
}
1616

@@ -34,7 +34,7 @@ struct VisionInteractionView: View {
3434
}
3535

3636
@ViewBuilder
37-
private func chats() -> some View {
37+
private func chatView() -> some View {
3838
VStack {
3939
if chat {
4040
ChatView()

VoiceAgent/Participant/AgentParticipantView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import LiveKitComponents
55
/// - Note: If both are unavailable, the view will show a placeholder visualizer.
66
struct AgentParticipantView: View {
77
@EnvironmentObject private var session: Session
8+
89
@Environment(\.namespace) private var namespace
910
/// Reveals the avatar camera view when true.
1011
@SceneStorage("videoTransition") private var videoTransition = false

0 commit comments

Comments
 (0)