Hide disclosure indicator/arrow in DisclosureGroup

Viewed 1382

Does anyone know how to hide or remove the chevron or arrow that appears at the end of a DisclosureGroup button?

1 Answers

Try:

        .buttonStyle(PlainButtonStyle()).accentColor(.clear).disabled(true)

and if you still need to use the button remove the disabled part.

Related