mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
24 lines
641 B
Swift
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())
|
|
}
|