mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Adjust ad offset
This commit is contained in:
parent
09a66b0044
commit
11ae567544
@ -4979,10 +4979,10 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
|
|||||||
minOffsetForNavigation += itemNode.bounds.height
|
minOffsetForNavigation += itemNode.bounds.height
|
||||||
|
|
||||||
switch offset {
|
switch offset {
|
||||||
case let .known(offset):
|
case let .known(offset):
|
||||||
if offset <= itemNode.bounds.height / 2.0 {
|
if offset <= 50.0 {
|
||||||
strongSelf.chatDisplayNode.historyNode.adSeenProcessingManager.add([message.id])
|
strongSelf.chatDisplayNode.historyNode.adSeenProcessingManager.add([message.id])
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user