From 8b34e48d49aa43ca6b280a1a0ddd39cb9bad2b87 Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Mon, 17 Jul 2023 14:16:51 +0200 Subject: [PATCH] Remove updateIMDNList in UIChatCell and hide drop down menu when app moved to background/foreground --- Classes/Swift/Chat/Views/ChatConversationViewSwift.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Classes/Swift/Chat/Views/ChatConversationViewSwift.swift b/Classes/Swift/Chat/Views/ChatConversationViewSwift.swift index 4726645a4..23fb1df7d 100644 --- a/Classes/Swift/Chat/Views/ChatConversationViewSwift.swift +++ b/Classes/Swift/Chat/Views/ChatConversationViewSwift.swift @@ -251,6 +251,9 @@ class ChatConversationViewSwift: BackActionsNavigationView, PHPickerViewControll } @objc func appMovedToForeground() { + if (tableControllerSwift.menu != nil && !tableControllerSwift.menu!.isHidden) { + tableControllerSwift.menu!.hide() + } if(PhoneMainView.instance().currentView == ChatConversationViewSwift.compositeViewDescription()){ let lc: Core = Core.getSwiftObject(cObject: LinphoneManager.getLc()) if(lc.globalState.rawValue == LinphoneGlobalOn.rawValue){