mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix isComposingView block
This commit is contained in:
parent
92f9982cd0
commit
7a10c045c1
1 changed files with 3 additions and 4 deletions
|
|
@ -678,9 +678,6 @@ import AVFoundation
|
|||
self.mediaURLCollection = []
|
||||
return
|
||||
}
|
||||
if(self.isComposingView.isHidden == false){
|
||||
self.isComposingView.isHidden = true
|
||||
}
|
||||
if(self.mediaSelector.isHidden == false){
|
||||
self.mediaSelector.isHidden = true
|
||||
}
|
||||
|
|
@ -779,7 +776,9 @@ import AVFoundation
|
|||
|
||||
func on_chat_room_is_composing_received(_ cr: ChatRoom?, _ remoteAddr: Address?, _ isComposing: Bool) {
|
||||
let composing = (linphone_chat_room_is_remote_composing(cr?.getCobject) != 0) || bctbx_list_size(linphone_chat_room_get_composing_addresses(cr?.getCobject)) > 0
|
||||
setComposingVisible(composing, withDelay: 0.3)
|
||||
if((composing && self.isComposingView.isHidden)||(!composing && !self.isComposingView.isHidden)){
|
||||
setComposingVisible(composing, withDelay: 0.3)
|
||||
}
|
||||
}
|
||||
|
||||
func setComposingVisible(_ visible: Bool, withDelay delay: CGFloat) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue