mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -42,7 +42,7 @@ func titlePanelForChatPresentationInterfaceState(_ chatPresentationInterfaceStat
|
||||
break loop
|
||||
}
|
||||
}
|
||||
case .chatInfo, .requestInProgress, .toastAlert, .inviteRequests:
|
||||
case .requestInProgress, .toastAlert, .inviteRequests:
|
||||
selectedContext = context
|
||||
break loop
|
||||
}
|
||||
@@ -120,14 +120,6 @@ func titlePanelForChatPresentationInterfaceState(_ chatPresentationInterfaceStat
|
||||
panel.interfaceInteraction = interfaceInteraction
|
||||
return panel
|
||||
}
|
||||
case .chatInfo:
|
||||
if let currentPanel = currentPanel as? ChatInfoTitlePanelNode {
|
||||
return currentPanel
|
||||
} else {
|
||||
let panel = ChatInfoTitlePanelNode()
|
||||
panel.interfaceInteraction = interfaceInteraction
|
||||
return panel
|
||||
}
|
||||
case .requestInProgress:
|
||||
if let currentPanel = currentPanel as? ChatRequestInProgressTitlePanelNode {
|
||||
return currentPanel
|
||||
|
||||
Reference in New Issue
Block a user