|
|
@ -602,6 +602,7 @@ final class CallVC: UIViewController, VideoPreviewDelegate {
|
|
|
|
Timer.scheduledTimer(withTimeInterval: 2, repeats: false) { [weak self] _ in
|
|
|
|
Timer.scheduledTimer(withTimeInterval: 2, repeats: false) { [weak self] _ in
|
|
|
|
DispatchQueue.main.async {
|
|
|
|
DispatchQueue.main.async {
|
|
|
|
self?.dismiss(animated: true, completion: {
|
|
|
|
self?.dismiss(animated: true, completion: {
|
|
|
|
|
|
|
|
self?.conversationVC?.becomeFirstResponder()
|
|
|
|
self?.conversationVC?.showInputAccessoryView()
|
|
|
|
self?.conversationVC?.showInputAccessoryView()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -647,6 +648,7 @@ final class CallVC: UIViewController, VideoPreviewDelegate {
|
|
|
|
|
|
|
|
|
|
|
|
@objc private func minimize() {
|
|
|
|
@objc private func minimize() {
|
|
|
|
self.shouldRestartCamera = false
|
|
|
|
self.shouldRestartCamera = false
|
|
|
|
|
|
|
|
self.conversationVC?.becomeFirstResponder()
|
|
|
|
self.conversationVC?.showInputAccessoryView()
|
|
|
|
self.conversationVC?.showInputAccessoryView()
|
|
|
|
|
|
|
|
|
|
|
|
let miniCallView = MiniCallView(from: self)
|
|
|
|
let miniCallView = MiniCallView(from: self)
|
|
|
|