Saved message search

This commit is contained in:
Isaac 2024-01-28 00:15:21 +01:00
parent 960d968e0f
commit ca4eb2cb69
21 changed files with 439 additions and 68 deletions

View file

@ -524,4 +524,14 @@ func updateChatPresentationInterfaceStateImpl(
}
selfController.updateDownButtonVisibility()
if case .standard(.embedded) = selfController.presentationInterfaceState.mode, let controllerInteraction = selfController.controllerInteraction, let interfaceInteraction = selfController.interfaceInteraction {
if let titleAccessoryPanelNode = titlePanelForChatPresentationInterfaceState(selfController.presentationInterfaceState, context: selfController.context, currentPanel: selfController.customNavigationPanelNode as? ChatTitleAccessoryPanelNode, controllerInteraction: controllerInteraction, interfaceInteraction: interfaceInteraction) {
selfController.customNavigationPanelNode = titleAccessoryPanelNode as? ChatControllerCustomNavigationPanelNode
} else {
selfController.customNavigationPanelNode = nil
}
}
selfController.stateUpdated?(transition)
}