how can i remove icon?
i want to show only title, description and button.
This is how the dialog is presented.
enter image description here
Button {
store.send(.sendRequestButtonTapped)
showingAlert = true
} label: {
Text(TR("Send request"))
.font(MeditUIKitFontFamily.NotoSans.regular.swiftUIFont(size: 14))
}
.buttonStyle(GhostedButtonStyle(
ButtonProperties(
size: .small,
shape: .roundedRectangle,
background: .bTransparent,
foreground: MeditUIKitAsset.lightPrimaryP600.swiftUIColor
)
))
.alert(isPresented: $showingAlert) {
Alert(
title: Text(TR("Request sent")),
message: Text(TR("You will be notified once the lab approves your request.")),
dismissButton: .default(Text("Ok"), action: {
showingAlert = false
})
)
}
New contributor
유채현 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.