Changed to MVMCoreUIUtility.getWidth() as per pr comments

This commit is contained in:
Robinson, Blake 2019-12-19 12:23:01 -05:00
parent f731b56f2e
commit 7c17889b57

View File

@ -68,7 +68,7 @@ extension Link: MVMCoreViewProtocol {
var width = size
if MVMCoreGetterUtility.fequal(a: Float(CGFloat.leastNormalMagnitude), b: Float(size)) {
width = MVMCoreUISplitViewController.getApplicationViewWidth()
width = MVMCoreUIUtility.getWidth()
}
self.titleLabel?.font = MFStyler.fontB2(forWidth: width)
guard let heightConstraint = self.heightConstraint else { return }