change for git
This commit is contained in:
parent
c52337a08b
commit
76d4a39757
@ -213,9 +213,9 @@ open class Styler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
open class func setMarginsFor(_ view: UIView?, size: CGFloat, defaultHorizontal horizontal: Bool, top: CGFloat, bottom: CGFloat) {
|
open class func setMarginsFor(_ view: UIView?, size: CGFloat, horizontal: CGFloat?, top: CGFloat, bottom: CGFloat) {
|
||||||
|
|
||||||
let horizontalPadding: CGFloat = horizontal ? Padding.Component.horizontalPaddingForSize(size) : 0
|
let horizontalPadding: CGFloat = horizontal ?? Padding.Component.horizontalPaddingForSize(size)
|
||||||
|
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async {
|
||||||
MVMCoreUIUtility.setMarginsFor(view,
|
MVMCoreUIUtility.setMarginsFor(view,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user