Files
pipecat/examples/simple-chatbot/client/ios/SimpleChatbot/SimpleChatbotApp.swift
2025-01-11 19:16:05 -08:00

19 lines
405 B
Swift

import SwiftUI
@main
struct SimpleChatbotApp: App {
@StateObject var callContainerModel = CallContainerModel()
var body: some Scene {
WindowGroup {
if (!callContainerModel.isInCall) {
PreJoinView().environmentObject(callContainerModel)
} else {
MeetingView().environmentObject(callContainerModel)
}
}
}
}