From 4f42d5a46130367590a46cb0322ae214e14d585e Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 20 Jun 2023 15:12:06 -0500 Subject: [PATCH] dot based on height not width Signed-off-by: Matt Bruce --- VDS/Components/BadgeIndicator/BadgeIndicator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VDS/Components/BadgeIndicator/BadgeIndicator.swift b/VDS/Components/BadgeIndicator/BadgeIndicator.swift index a1d7fed1..ad64cf7b 100644 --- a/VDS/Components/BadgeIndicator/BadgeIndicator.swift +++ b/VDS/Components/BadgeIndicator/BadgeIndicator.swift @@ -368,7 +368,7 @@ open class BadgeIndicator: View { let frame = badgeView.frame //default calculation if a dotSize isn't given - var dot: CGFloat = frame.width * 0.1875 + var dot: CGFloat = frame.height * 0.1875 if let dotSize, dotSize < frame.width, dotSize < frame.height { dot = dotSize }