mv-experiment #1

Merged
fmodf merged 88 commits from mv-experiment into develop 2024-09-03 15:13:59 +00:00
Showing only changes of commit 72d52f253f - Show all commits

View file

@ -70,32 +70,32 @@ private struct GridViewItem: View {
} }
} }
} }
// if isSelected { if isSelected {
// VStack { VStack {
// HStack { HStack {
// Spacer() Spacer()
// Circle() Circle()
// .frame(width: 30, height: 30) .frame(width: 30, height: 30)
// .shadow(color: .black, radius: 2) .shadow(color: .black, radius: 2)
// .foregroundColor(.Material.Shape.white) .foregroundColor(.Material.Shape.white)
// .overlay { .overlay {
// Image(systemName: "checkmark") Image(systemName: "checkmark")
// .foregroundColor(.Material.Elements.active) .foregroundColor(.Material.Elements.active)
// .font(.body3) .font(.body3)
// } }
// .padding(4) .padding(4)
// } }
// Spacer() Spacer()
// } }
// } }
}
.onTapGesture {
if isSelected {
selected.removeAll { $0 == item.id }
} else {
selected.append(item.id)
}
} }
// .onTapGesture {
// if isSelected {
// selected.append(item.id)
// } else {
// selected.removeAll { $0 == item.id }
// }
// }
} else { } else {
ZStack { ZStack {
Rectangle() Rectangle()