From 6adca04f5e158f404a621ac838686cacab3c1d52 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Mon, 15 Apr 2024 13:07:03 -0500 Subject: [PATCH] removed hardcoded strings Signed-off-by: Matt Bruce --- VDS/Components/BadgeIndicator/BadgeIndicator.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/VDS/Components/BadgeIndicator/BadgeIndicator.swift b/VDS/Components/BadgeIndicator/BadgeIndicator.swift index 23a63e40..89d886c6 100644 --- a/VDS/Components/BadgeIndicator/BadgeIndicator.swift +++ b/VDS/Components/BadgeIndicator/BadgeIndicator.swift @@ -74,11 +74,11 @@ open class BadgeIndicator: View { /// Enum type describing size of Badge Indicator. public enum Size: String, CaseIterable { - case xxlarge = "2XLarge" - case xlarge = "XLarge" - case large = "Large" - case medium = "Medium" - case small = "Small" + case xxlarge + case xlarge + case large + case medium + case small /// Dynamic TextStyle for the size. public var textStyle: TextStyle {