Expose pre-collected keyboard height

This commit is contained in:
Ilya Laktyushin 2019-01-15 19:57:00 +04:00
parent a533f7dd71
commit 2e4333212c

View File

@ -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: