mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-26 15:31:12 +00:00
Expose pre-collected keyboard height
This commit is contained in:
parent
a533f7dd71
commit
2e4333212c
@ -84,7 +84,7 @@ public enum DeviceMetrics: CaseIterable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func standardInputHeight(inLandscape: Bool) -> CGFloat {
|
public func standardInputHeight(inLandscape: Bool) -> CGFloat {
|
||||||
if inLandscape {
|
if inLandscape {
|
||||||
switch self {
|
switch self {
|
||||||
case .iPhone4, .iPhone5:
|
case .iPhone4, .iPhone5:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user