mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Remove ad animation
This commit is contained in:
@@ -499,8 +499,14 @@ func contextMenuForChatPresentationInterfaceState(chatPresentationInterfaceState
|
||||
opaqueId: adAttribute.opaqueId,
|
||||
title: title,
|
||||
options: options,
|
||||
completed: {
|
||||
|
||||
completed: { [weak interfaceInteraction] in
|
||||
guard let interfaceInteraction else {
|
||||
return
|
||||
}
|
||||
guard let chatController = interfaceInteraction.chatController() as? ChatControllerImpl else {
|
||||
return
|
||||
}
|
||||
chatController.removeAd(opaqueId: adAttribute.opaqueId)
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user