fix bug where “update call” button wouldn’t work when answering an incoming call
This commit is contained in:
@@ -112,11 +112,11 @@ struct ContentView: View {
|
||||
VStack {
|
||||
HStack {
|
||||
Button(action: {
|
||||
if (self.tutorialContext.isCallIncoming) {
|
||||
if (self.tutorialContext.isCallIncoming && !self.tutorialContext.callRunning) {
|
||||
self.tutorialContext.acceptCall()
|
||||
}
|
||||
else {
|
||||
self.tutorialContext.mProviderDelegate.outgoingCall()
|
||||
self.tutorialContext.outgoingCallExample()
|
||||
}
|
||||
})
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user