mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various Fixes
This commit is contained in:
@@ -560,6 +560,9 @@ final class BotCheckoutInfoControllerNode: ViewControllerTracingNode, UIScrollVi
|
||||
}
|
||||
|
||||
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