Camera and editor improvements

This commit is contained in:
Ilya Laktyushin
2023-05-16 15:38:36 +04:00
parent b7e25ec8e7
commit 340001788e
5 changed files with 172 additions and 155 deletions

View File

@@ -2533,6 +2533,15 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController
}
}
public func transitionViewForOwnStoryItem() -> UIView? {
if let componentView = self.headerContentView.view as? ChatListHeaderComponent.View {
if let transitionView = componentView.storyPeerListView()?.transitionViewForItem(peerId: self.context.account.peerId) {
return transitionView
}
}
return nil
}
public func animateStoryUploadRipple() {
if let componentView = self.headerContentView.view as? ChatListHeaderComponent.View {
if let transitionView = componentView.storyPeerListView()?.transitionViewForItem(peerId: self.context.account.peerId) {