Tasks: square (rounded) checkbox, slightly smaller

TaskRowView checkbox: 18pt circle -> 16pt rounded square (cornerRadius 5),
matching the requested look. Keeps the quadrant-color stroke and 36x44 tap target.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
kutesir
2026-06-25 00:28:47 +03:00
parent 4a05844ee3
commit 5a83f232a6

View File

@@ -1300,12 +1300,12 @@ struct TaskRowView: View {
onToggle() onToggle()
} }
} label: { } label: {
Circle() RoundedRectangle(cornerRadius: 5, style: .continuous)
.strokeBorder(task.quadrant.color, lineWidth: 1.5) .strokeBorder(task.quadrant.color, lineWidth: 1.5)
.frame(width: 18, height: 18) .frame(width: 16, height: 16)
.frame(width: 36, height: 44) .frame(width: 36, height: 44)
.padding(.leading, 4) .padding(.leading, 4)
.contentShape(Circle()) .contentShape(Rectangle())
} }
.buttonStyle(PressButtonStyle(scale: 0.82)) .buttonStyle(PressButtonStyle(scale: 0.82))