remove space
This commit is contained in:
parent
1bbad6ca15
commit
876a07650b
@ -234,7 +234,6 @@ public typealias ActionBlock = () -> ()
|
|||||||
textAlignment = .left
|
textAlignment = .left
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
makeWholeViewClickable = labelModel.makeWholeViewClickable ?? false
|
makeWholeViewClickable = labelModel.makeWholeViewClickable ?? false
|
||||||
if let backgroundColorHex = labelModel.backgroundColor, !backgroundColorHex.isEmpty {
|
if let backgroundColorHex = labelModel.backgroundColor, !backgroundColorHex.isEmpty {
|
||||||
backgroundColor = UIColor.mfGet(forHex: backgroundColorHex)
|
backgroundColor = UIColor.mfGet(forHex: backgroundColorHex)
|
||||||
@ -245,7 +244,7 @@ public typealias ActionBlock = () -> ()
|
|||||||
if let fontStyle = labelModel.fontStyle {
|
if let fontStyle = labelModel.fontStyle {
|
||||||
MFStyler.styleLabel(self, withStyle: fontStyle)
|
MFStyler.styleLabel(self, withStyle: fontStyle)
|
||||||
} else {
|
} else {
|
||||||
let fontSize = labelModel.fontSize as? CGFloat
|
let fontSize = labelModel.fontSize
|
||||||
if let fontName = labelModel.fontName {
|
if let fontName = labelModel.fontName {
|
||||||
font = MFFonts.mfFont(withName: fontName, size: fontSize ?? font.pointSize)
|
font = MFFonts.mfFont(withName: fontName, size: fontSize ?? font.pointSize)
|
||||||
} else if let fontSize = fontSize {
|
} else if let fontSize = fontSize {
|
||||||
@ -314,7 +313,6 @@ public typealias ActionBlock = () -> ()
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
originalAttributedString = attributedText
|
originalAttributedString = attributedText
|
||||||
hero = labelModel.hero
|
hero = labelModel.hero
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user