diff --git a/Shared/Views/DetailBadge.swift b/Shared/Views/DetailBadge.swift index 175803c3..3a856b28 100644 --- a/Shared/Views/DetailBadge.swift +++ b/Shared/Views/DetailBadge.swift @@ -77,14 +77,22 @@ struct DetailBadge: View { @Default(.roundedThumbnails) private var roundedThumbnails var body: some View { - Text(text) + let text = Text(text) .truncationMode(.middle) .padding(4) #if os(tvOS) .padding(.horizontal, 5) #endif - .modifier(StyleModifier(style: style)) - .mask(RoundedRectangle(cornerRadius: roundedThumbnails ? 6 : 0)) + + Group { + if style == .default { + text + } else { + text + .modifier(StyleModifier(style: style)) + } + } + .mask(RoundedRectangle(cornerRadius: roundedThumbnails ? 6 : 0)) } }