mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Fix crash when app moved to background
This commit is contained in:
parent
5fe7f44e10
commit
22a248e03a
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
setupViews()
|
||||
markAsRead = true
|
||||
|
||||
UIApplication.shared.keyWindow?.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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue