mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -1179,6 +1179,8 @@ public func userInfoController(context: AccountContext, peerId: PeerId, mode: Pe
|
||||
}, report: {
|
||||
presentControllerImpl?(peerReportOptionsController(context: context, subject: .peer(peerId), present: { c, a in
|
||||
presentControllerImpl?(c, a)
|
||||
}, push: { c in
|
||||
pushControllerImpl?(c)
|
||||
}, completion: { _ in }), nil)
|
||||
})
|
||||
|
||||
@@ -1577,8 +1579,6 @@ public func userInfoController(context: AccountContext, peerId: PeerId, mode: Pe
|
||||
let text: String = presentationData.strings.UserInfo_TapToCall
|
||||
|
||||
let tooltipController = TooltipController(content: .text(text), dismissByTapOutside: true)
|
||||
tooltipController.dismissed = {
|
||||
}
|
||||
controller.present(tooltipController, in: .window(.root), with: TooltipControllerPresentationArguments(sourceNodeAndRect: { [weak resultItemNode] in
|
||||
if let resultItemNode = resultItemNode {
|
||||
return (resultItemNode, callButtonFrame)
|
||||
|
||||
Reference in New Issue
Block a user