remove space

This commit is contained in:
Xinlei(Ryan) Pan 2020-01-22 10:52:57 -05:00
parent ab66cfae3c
commit b512db7b92

View File

@ -68,15 +68,12 @@ extension Link {
public override func updateView(_ size: CGFloat) {
super.updateView(size)
DispatchQueue.main.async { [weak self] in
guard let self = self else { return }
var width = size
if MVMCoreGetterUtility.fequal(a: Float(CGFloat.leastNormalMagnitude), b: Float(size)) {
width = MVMCoreUIUtility.getWidth()
}
self.titleLabel?.font = MFStyler.fontB2(forWidth: width)
}
}