Prepare cap deletion
This commit is contained in:
parent
9cf1c236e0
commit
0cbddf61ab
@ -138,6 +138,10 @@ struct ContentView: View {
|
||||
Label("Rename", systemSymbol: .pencil)
|
||||
}
|
||||
.tint(.purple)
|
||||
Button(role: .destructive) { startDeleteCap(cap: cap)
|
||||
} label: {
|
||||
Label("Delete", systemSymbol: .trashCircleFill)
|
||||
}
|
||||
}
|
||||
.swipeActions(edge: .leading) {
|
||||
Button {
|
||||
@ -400,6 +404,10 @@ struct ContentView: View {
|
||||
selectedCapToShowImages = cap
|
||||
showImageOverviewForCap = true
|
||||
}
|
||||
|
||||
private func startDeleteCap(cap: Cap) {
|
||||
// TODO: Implement
|
||||
}
|
||||
}
|
||||
|
||||
struct ContentView_Previews: PreviewProvider {
|
||||
|
Loading…
Reference in New Issue
Block a user