mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Voice Chat UI fixes
This commit is contained in:
parent
d91ec1bac7
commit
e9ac972ee4
@ -1447,13 +1447,14 @@ public final class VoiceChatController: ViewController {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
let listMaxY = listTopInset + listSize.height
|
||||
if bottomEdge.isZero {
|
||||
bottomEdge = listMaxY
|
||||
}
|
||||
|
||||
var bottomOffset: CGFloat = 0.0
|
||||
if bottomEdge < listMaxY {
|
||||
if bottomEdge < listMaxY && (self.panGestureArguments != nil || self.isExpanded) {
|
||||
bottomOffset = bottomEdge - listMaxY
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user