Poll and sticker pack improvements

This commit is contained in:
Ali
2020-04-15 18:40:13 +04:00
parent f0c1f3ff3e
commit 203acd8567
13 changed files with 324 additions and 77 deletions

View File

@@ -1200,7 +1200,7 @@ public class ChatListControllerImpl: TelegramBaseController, ChatListController,
let location = CGRect(origin: CGPoint(x: absoluteFrame.midX, y: absoluteFrame.minY - 8.0), size: CGSize())
parentController.present(TooltipScreen(text: text, icon: .chatListPress, location: location, shouldDismissOnTouch: { point in
parentController.present(TooltipScreen(text: text, icon: .chatListPress, location: .point(location), shouldDismissOnTouch: { point in
guard let strongSelf = self, let parentController = strongSelf.parent as? TabBarController else {
return .dismiss(consume: false)
}