Skip to content

Commit

Permalink
refactor(image): improve rendering mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbonniec committed May 6, 2024
1 parent 7d67d8a commit 1ef6a63
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ struct OnBoardingFeatureView: View {
.aspectRatio(contentMode: .fit)
.frame(width: 35, height: 35)
.foregroundStyle(.tint)
.symbolRenderingMode(.hierarchical)

VStack(alignment: .leading, spacing: 3) {
label?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ struct OnBoardingHeaderView: View {
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 75, height: 75)
.foregroundStyle(.tint)

case .banner(let banner, let ratio):
Color.clear
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ struct OnBoardingNoticeView: View {
.frame(width: 32, height: 32)
.clipped()
.foregroundStyle(.tint)
.symbolRenderingMode(.hierarchical)

text
.foregroundStyle(.gray)
Expand Down

0 comments on commit 1ef6a63

Please sign in to comment.