Saved messages tab improvements

This commit is contained in:
Isaac
2024-01-29 00:09:32 +01:00
parent 03f5073f1d
commit f2ff2e9f3a
27 changed files with 147 additions and 93 deletions

View File

@@ -454,6 +454,9 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
weak var slowmodeTooltipController: ChatSlowmodeHintController?
weak var currentContextController: ContextController?
public var visibleContextController: ViewController? {
return self.currentContextController
}
weak var sendMessageActionsController: ChatSendMessageActionSheetController?
var searchResultsController: ChatSearchResultsController?
@@ -7075,7 +7078,7 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
if isTracking {
strongSelf.chatDisplayNode.loadingPlaceholderNode?.addContentOffset(offset: offset, transition: transition)
}
strongSelf.chatDisplayNode.messageTransitionNode.addExternalOffset(offset: offset, transition: transition, itemNode: itemNode)
strongSelf.chatDisplayNode.messageTransitionNode.addExternalOffset(offset: offset, transition: transition, itemNode: itemNode, isRotated: strongSelf.chatDisplayNode.historyNode.rotated)
}