This commit is contained in:
Kevin G Christiano 2020-04-02 11:20:17 -04:00
parent 79d0700485
commit 8788d98323
2 changed files with 2 additions and 5 deletions

View File

@ -24,7 +24,6 @@ public struct Padding {
public static let TableCellParagraphSpace: CGFloat = 3
public static let FooterLabelParagraphSpace: CGFloat = 4
public static let WebViewInset: CGFloat = 8
public static let HeightTableSeperatorHeight: CGFloat = 1
public static let MFHeightForSwitch: CGFloat = 22
public static let MFWidthForSwitch: CGFloat = 42
@ -33,9 +32,7 @@ public struct Padding {
public static let MinCellHeight: CGFloat = 96
public static let HeightIphone5: CGFloat = 568
public static let DefaultOptionCellHeight: CGFloat = 120
public static let PromoViewHeight: CGFloat = 41.9
public static let BetweenFields: CGFloat = 24
public static let LabelWithInternalButtonLineSpace: CGFloat = 2
public static let PrimaryButtonTop: CGFloat = 36
public struct Default {
@ -45,7 +42,7 @@ public struct Padding {
public static let VerticalSpacing3: CGFloat = 24
public static var HorizontalPaddingForApplicationWidth: CGFloat {
return MFSizeObject(scalingStandardSize: PaddingDefaultHorizontalSpacing)?.getValueBasedOnApplicationWidth() ?? 0
return MFSizeObject(scalingStandardSize: PaddingDefaultHorizontalSpacing)?.getValueBasedOnApplicationWidth() ?? HorizontalSpacing
}
public static var VerticalPaddingForApplicationWidth: CGFloat {

View File

@ -104,7 +104,7 @@ open class Styler {
}
open class func sizeFontGeneric(forCurrentDevice size: CGFloat) -> CGFloat {
return sizeObjectGeneric(forCurrentDevice: size)?.getValueBasedOnApplicationWidth() ?? 0
return sizeObjectGeneric(forCurrentDevice: size)?.getValueBasedOnApplicationWidth() ?? size
}
//--------------------------------------------------