im using the code below to put a button in the toolbar of a NavigationStack, but Text seems to have a background behind it. How can I remove this background color?
.toolbar {
ToolbarItem(placement: .automatic) {
Button(action: {
}) {
Text("Show More")
.glassEffect(.regular.interactive())
.buttonStyle(PlainButtonStyle())
}
}
}