Skip to content

Commit 9dd0a0f

Browse files
committed
Update icon size.
1 parent a81f5dc commit 9dd0a0f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Shared/Supporting Files/Views/CategoriesView.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,13 @@ private extension CategoriesView {
8383
.overlay {
8484
ZStack {
8585
Color(red: 0.24, green: 0.24, blue: 0.26, opacity: 0.6)
86-
Circle()
87-
.foregroundColor(.black.opacity(0.75))
88-
.frame(width: 50, height: 50)
8986
Image("\(category.replacingOccurrences(of: " ", with: "-"))-icon")
87+
.resizable()
9088
.colorInvert()
89+
.padding(10)
90+
.frame(width: 50, height: 50)
91+
.background(.black.opacity(0.75))
92+
.clipShape(Circle())
9193
Text(category)
9294
.multilineTextAlignment(.center)
9395
.foregroundColor(.white)

0 commit comments

Comments
 (0)