mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Hide screenshot mode popup
This commit is contained in:
parent
930baed6d0
commit
c0dd1af80b
1 changed files with 3 additions and 2 deletions
|
|
@ -152,8 +152,8 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
setupViews()
|
||||
markAsRead = true
|
||||
|
||||
PhoneMainView.instance()!.mainViewController.view.makeSecure(field: field)
|
||||
|
||||
//PhoneMainView.instance()!.mainViewController.view.makeSecure(field: field)
|
||||
/*
|
||||
NotificationCenter.default.addObserver(forName: UIApplication.userDidTakeScreenshotNotification, object: nil, queue: OperationQueue.main) { notification in
|
||||
if (ConfigManager.instance().lpConfigBoolForKey(key: "screenshot_preference") == false && self.floatingButton.isHidden == false) {
|
||||
let popupView = UIAlertController(title: VoipTexts.screenshot_restrictions, message: nil, preferredStyle: .alert)
|
||||
|
|
@ -168,6 +168,7 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
})
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
ChatConversationViewModel.sharedModel.isComposing.observe { compose in
|
||||
if((compose! && self.isComposingView.isHidden)||(!compose! && !self.isComposingView.isHidden)){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue