Scheduled Messages UI improvements

This commit is contained in:
Ilya Laktyushin
2019-08-21 02:05:10 +03:00
parent 4b6c54f84a
commit 263d78c1b3
31 changed files with 234 additions and 200 deletions

View File

@@ -1199,9 +1199,9 @@ final class InstantPageControllerNode: ASDisplayNode, UIScrollViewDelegate {
strongSelf.loadProgress.set(1.0)
strongSelf.context.sharedContext.openResolvedUrl(result, context: strongSelf.context, urlContext: .generic, navigationController: strongSelf.getNavigationController(), openPeer: { peerId, navigation in
switch navigation {
case let .chat(_, messageId):
case let .chat(_, subject):
if let navigationController = strongSelf.getNavigationController() {
strongSelf.context.sharedContext.navigateToChatController(NavigateToChatControllerParams(navigationController: navigationController, context: strongSelf.context, chatLocation: .peer(peerId), messageId: messageId))
strongSelf.context.sharedContext.navigateToChatController(NavigateToChatControllerParams(navigationController: navigationController, context: strongSelf.context, chatLocation: .peer(peerId), subject: subject))
}
case let .withBotStartPayload(botStart):
if let navigationController = strongSelf.getNavigationController() {