Instant View improvements

This commit is contained in:
Ilya Laktyushin
2018-11-21 01:04:04 +04:00
parent 431e7082c2
commit f1e7c5ac35
15 changed files with 426 additions and 83 deletions

View File

@@ -1971,7 +1971,7 @@ func handlePeerInfoAboutTextAction(account: Account, peerId: PeerId, navigateDis
ActionSheetButtonItem(title: presentationData.strings.Common_Cancel, color: .accent, action: { [weak actionSheet] in
actionSheet?.dismissAnimated()
})
])])
])])
controller.present(actionSheet, in: .window(.root))
case let .mention(mention):
let actionSheet = ActionSheetController(presentationTheme: presentationData.theme)