linphone-iphone/Linphone/UI/Main/History/Fragments/StartGroupCallFragment.swift
2024-06-25 15:20:53 +02:00

24 lines
641 B
Swift

//
// StartGroupCallFragment.swift
// Linphone
//
// Created by Benoît Martins on 24/06/2024.
//
import SwiftUI
struct StartGroupCallFragment: View {
@ObservedObject var startCallViewModel: StartCallViewModel
@State var addParticipantsViewModel = AddParticipantsViewModel()
var body: some View {
AddParticipantsFragment(addParticipantsViewModel: addParticipantsViewModel, confirmAddParticipantsFunc: startCallViewModel.addParticipants)
.onAppear {
addParticipantsViewModel.participantsToAdd = startCallViewModel.participants
}
}
}
#Preview {
StartGroupCallFragment(startCallViewModel: StartCallViewModel())
}