mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 09:49:26 +00:00
FIx UserNotificationCenter click
Disable Screenshot secure mode
This commit is contained in:
parent
c0dd1af80b
commit
914da62b4f
2 changed files with 7 additions and 1 deletions
|
|
@ -676,10 +676,12 @@
|
|||
LinphoneChatRoom *room = linphone_core_find_chat_room(LC, peer, local);
|
||||
if (room) {
|
||||
[PhoneMainView.instance resetBeforeGoToChatRoomSwift];
|
||||
[PhoneMainView.instance changeCurrentView:ChatsListView.compositeViewDescription];
|
||||
[PhoneMainView.instance goToChatRoomSwift:room];
|
||||
return;
|
||||
} else {
|
||||
[PhoneMainView.instance changeCurrentView:ChatsListView.compositeViewDescription];
|
||||
}
|
||||
[PhoneMainView.instance changeCurrentView:ChatsListView.compositeViewDescription];
|
||||
}
|
||||
} else if ([response.notification.request.content.categoryIdentifier isEqual:@"video_request"]) {
|
||||
if (!call) return;
|
||||
|
|
|
|||
|
|
@ -304,6 +304,7 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
|
||||
field.isUserInteractionEnabled = false
|
||||
|
||||
/*
|
||||
let keyWindow = UIApplication.shared.windows.filter {$0.isKeyWindow}.first
|
||||
if keyWindow != nil {
|
||||
if ConfigManager.instance().lpConfigBoolForKey(key: "screenshot_preference") == false && floatingButton.isHidden == false {
|
||||
|
|
@ -312,6 +313,7 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
PhoneMainView.instance()!.mainViewController.view.changeSecure(field: field, isSecure: false)
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
override func viewWillDisappear(_ animated: Bool) {
|
||||
|
|
@ -320,10 +322,12 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll
|
|||
}
|
||||
AvatarBridge.removeAllObserver()
|
||||
|
||||
/*
|
||||
let keyWindow = UIApplication.shared.windows.filter {$0.isKeyWindow}.first
|
||||
if keyWindow != nil {
|
||||
PhoneMainView.instance()!.mainViewController.view.changeSecure(field: field, isSecure: false)
|
||||
}
|
||||
*/
|
||||
|
||||
field.isUserInteractionEnabled = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue