mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various Fixes
This commit is contained in:
@@ -549,6 +549,9 @@ final class BotCheckoutNativeCardEntryControllerNode: ViewControllerTracingNode,
|
||||
}
|
||||
|
||||
func scrollViewDidScroll(_ scrollView: UIScrollView) {
|
||||
guard !self.scrollNode.view.ignoreUpdateBounds else {
|
||||
return
|
||||
}
|
||||
let value = scrollView.contentOffset.y + scrollView.contentInset.top
|
||||
self.navigationBar?.updateBackgroundAlpha(min(30.0, value) / 30.0, transition: .immediate)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user