Skip to content

Commit e944399

Browse files
committed
better default background color
resolves #11
1 parent 271705f commit e944399

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Flitro/Sidebar/ContextCardView.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ struct ContextCardView: View {
7272
RoundedRectangle(cornerRadius: 4)
7373
.fill(backgroundColor)
7474
.frame(width: 32, height: 32)
75+
} else {
76+
RoundedRectangle(cornerRadius: 4)
77+
.fill(Color(NSColor.windowBackgroundColor))
78+
.frame(width: 32, height: 32)
7579
}
7680
if let iconName = context.iconName, let icon = Ph(rawValue: iconName) {
7781
icon.regular

0 commit comments

Comments
 (0)