From b512db7b923c5f992f5b63137fcde76a26d66fb7 Mon Sep 17 00:00:00 2001 From: "Xinlei(Ryan) Pan" Date: Wed, 22 Jan 2020 10:52:57 -0500 Subject: [PATCH] remove space --- MVMCoreUI/Atoms/Buttons/Link.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/MVMCoreUI/Atoms/Buttons/Link.swift b/MVMCoreUI/Atoms/Buttons/Link.swift index 6abcd48a..b314dd5c 100644 --- a/MVMCoreUI/Atoms/Buttons/Link.swift +++ b/MVMCoreUI/Atoms/Buttons/Link.swift @@ -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) } }