From 924653a726ea928982e55c1b4730725c782418bf Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 15 Sep 2023 14:57:44 -0500 Subject: [PATCH] refactored code Signed-off-by: Matt Bruce --- VDS/Components/Icon/Icon.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/VDS/Components/Icon/Icon.swift b/VDS/Components/Icon/Icon.swift index 39b42175..e85dc751 100644 --- a/VDS/Components/Icon/Icon.swift +++ b/VDS/Components/Icon/Icon.swift @@ -69,9 +69,7 @@ open class Icon: View { open var customSize: Int? { didSet { setNeedsUpdate() } } /// The natural size for the receiving view, considering only properties of the view itself. - open override var intrinsicContentSize: CGSize { - dimensions - } + open override var intrinsicContentSize: CGSize { dimensions } //functions //--------------------------------------------------