Remove visibility modifier

This commit is contained in:
David Langley
2021-08-12 12:42:26 +01:00
parent 2c9a26b985
commit f0120dd567
4 changed files with 7 additions and 62 deletions
@@ -36,9 +36,10 @@ struct FormPickerItemView: View {
HStack {
Text(title)
Spacer()
Image("checkmark")
.foregroundColor(Color(theme.tintColor))
.gone(!selected)
if selected {
Image("checkmark")
.foregroundColor(Color(theme.tintColor))
}
}
.padding(.trailing)
Spacer()