Changed to MVMCoreUIUtility.getWidth() as per pr comments
This commit is contained in:
parent
f731b56f2e
commit
7c17889b57
@ -68,7 +68,7 @@ extension Link: MVMCoreViewProtocol {
|
|||||||
|
|
||||||
var width = size
|
var width = size
|
||||||
if MVMCoreGetterUtility.fequal(a: Float(CGFloat.leastNormalMagnitude), b: Float(size)) {
|
if MVMCoreGetterUtility.fequal(a: Float(CGFloat.leastNormalMagnitude), b: Float(size)) {
|
||||||
width = MVMCoreUISplitViewController.getApplicationViewWidth()
|
width = MVMCoreUIUtility.getWidth()
|
||||||
}
|
}
|
||||||
self.titleLabel?.font = MFStyler.fontB2(forWidth: width)
|
self.titleLabel?.font = MFStyler.fontB2(forWidth: width)
|
||||||
guard let heightConstraint = self.heightConstraint else { return }
|
guard let heightConstraint = self.heightConstraint else { return }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user