Fix CaseraIconView to use theme color instead of hardcoded orange
- Add backgroundColor parameter to CaseraIconView and PulsingIconView - Update ResidenceCard to pass Color.appPrimary for themed icon background - Icon now matches the app's current theme like PropertyHeaderCard 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,11 +15,11 @@ struct ResidenceCard: View {
|
||||
HStack(spacing: AppSpacing.sm) {
|
||||
VStack {
|
||||
if hasOverdueTasks {
|
||||
PulsingIconView()
|
||||
PulsingIconView(backgroundColor: Color.appPrimary)
|
||||
.frame(width: 44, height: 44)
|
||||
.padding([.trailing], AppSpacing.md)
|
||||
} else {
|
||||
CaseraIconView()
|
||||
CaseraIconView(backgroundColor: Color.appPrimary)
|
||||
.frame(width: 44, height: 44)
|
||||
.padding([.trailing], AppSpacing.md)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user