minor fix

pull/560/head
ryanzhao 4 years ago
parent e15f84850e
commit 0e473e35a7

@ -13,6 +13,11 @@ extension AppDelegate {
let callVC = CallVC(for: message.sender!, mode: .answer(sdp: sdp)) let callVC = CallVC(for: message.sender!, mode: .answer(sdp: sdp))
callVC.modalPresentationStyle = .overFullScreen callVC.modalPresentationStyle = .overFullScreen
callVC.modalTransitionStyle = .crossDissolve callVC.modalTransitionStyle = .crossDissolve
if let conversationVC = presentingVC as? ConversationVC {
callVC.conversationVC = conversationVC
conversationVC.inputAccessoryView?.isHidden = true
conversationVC.inputAccessoryView?.alpha = 0
}
presentingVC.present(callVC, animated: true, completion: nil) presentingVC.present(callVC, animated: true, completion: nil)
} }
} }

Loading…
Cancel
Save