Remove visibility modifier

This commit is contained in:
David Langley
2021-08-12 12:42:26 +01:00
parent a00f4a1bb3
commit 504349f40a
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()