mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Forward privacy preview
Disabled forward link tooltip Settings search improvements Various UI fixes
This commit is contained in:
@@ -401,7 +401,7 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
let display = !notice && hasVisiblePlayableItemNodes && !isInteractivelyScrolling
|
||||
if display {
|
||||
return .complete()
|
||||
|> delay(2.0, queue: Queue.mainQueue())
|
||||
|> delay(2.5, queue: Queue.mainQueue())
|
||||
|> then(
|
||||
.single(display)
|
||||
)
|
||||
@@ -1512,12 +1512,10 @@ class ChatControllerNode: ASDisplayNode, UIScrollViewDelegate {
|
||||
}
|
||||
}
|
||||
}
|
||||
if let (message, itemNode) = result {
|
||||
if let (message, _) = result {
|
||||
if let message = message {
|
||||
let _ = self.controllerInteraction.openMessage(message, .landscape)
|
||||
}
|
||||
|
||||
self.historyNode.ensureItemNodeVisibleAtTopInset(itemNode)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user