From 7c17889b574ddf0d50d91b415256ee206c13b60a Mon Sep 17 00:00:00 2001 From: "Robinson, Blake" Date: Thu, 19 Dec 2019 12:23:01 -0500 Subject: [PATCH] Changed to MVMCoreUIUtility.getWidth() as per pr comments --- MVMCoreUI/Atoms/Buttons/Link.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atoms/Buttons/Link.swift b/MVMCoreUI/Atoms/Buttons/Link.swift index 6107fce0..b31b2c34 100644 --- a/MVMCoreUI/Atoms/Buttons/Link.swift +++ b/MVMCoreUI/Atoms/Buttons/Link.swift @@ -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 }