mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Fix click on secure badge
This commit is contained in:
parent
735ecf739a
commit
c0d0aedfba
2 changed files with 4 additions and 2 deletions
|
|
@ -173,6 +173,8 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
}
|
||||
*/
|
||||
|
||||
contentMessageView.floatingButton.addTarget(self, action: #selector(self.alertActionGoToDevicesList), for: .touchUpInside)
|
||||
|
||||
ChatConversationViewModel.sharedModel.isComposing.observe { compose in
|
||||
if((compose! && self.contentMessageView.isComposingView.isHidden)||(!compose! && !self.contentMessageView.isComposingView.isHidden)){
|
||||
self.setComposingVisible(compose!, withDelay: 0.3)
|
||||
|
|
@ -709,7 +711,7 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
|
||||
}
|
||||
|
||||
func alertActionGoToDevicesList() {
|
||||
@objc func alertActionGoToDevicesList() {
|
||||
|
||||
let notAskAgain = ConfigManager.instance().lpConfigBoolForKey(key: "confirmation_dialog_before_sas_call_not_ask_again");
|
||||
if(!notAskAgain){
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ class ContentMessageView: UIViewController {
|
|||
constraintLandscapeFloatingButton = floatingButton.rightAnchor.constraint(equalTo: self.view.rightAnchor, constant: -56)
|
||||
if UIDevice.current.orientation.isLandscape {
|
||||
constraintLandscapeFloatingButton!.isActive = true
|
||||
} else if UIDevice.current.orientation.isPortrait {
|
||||
} else {
|
||||
constraintFloatingButton!.isActive = true
|
||||
}
|
||||
floatingButton.topAnchor.constraint(equalTo: self.view.layoutMarginsGuide.topAnchor, constant: top_bar_height).isActive = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue