Compare commits
2 Commits
101475facc
...
750a096999
| Author | SHA1 | Date | |
|---|---|---|---|
| 750a096999 | |||
| d40c73399e |
@@ -156,6 +156,15 @@ struct StopwatchListItem: View {
|
|||||||
.padding(.vertical, 8)
|
.padding(.vertical, 8)
|
||||||
.background(Color(UIColor.systemBackground))
|
.background(Color(UIColor.systemBackground))
|
||||||
.contentShape(Rectangle())
|
.contentShape(Rectangle())
|
||||||
|
.contextMenu {
|
||||||
|
Button(role: .destructive) {
|
||||||
|
withAnimation {
|
||||||
|
viewModel.deleteStopwatch(id: stopwatch.id)
|
||||||
|
}
|
||||||
|
} label: {
|
||||||
|
Label("Delete", systemImage: "trash")
|
||||||
|
}
|
||||||
|
}
|
||||||
.onDrag {
|
.onDrag {
|
||||||
self.draggingStopwatch = stopwatch
|
self.draggingStopwatch = stopwatch
|
||||||
return NSItemProvider(object: stopwatch.id.uuidString as NSString)
|
return NSItemProvider(object: stopwatch.id.uuidString as NSString)
|
||||||
|
|||||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user