Skip to content

Commit

Permalink
Homeview linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nriedman committed Feb 13, 2024
1 parent 0f258e4 commit 6a73b95
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions Intake/Home.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,19 @@ struct HomeView: View {
HStack {
Spacer()

Button(action: {
showSettings.toggle()
},
label: {
Image(systemName: "gear")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 30, height: 30)
.foregroundColor(.blue)
.accessibilityLabel(Text("SETTINGS"))
})
Button(
action: {
showSettings.toggle()
},

Check warning on line 41 in Intake/Home.swift

View check run for this annotation

Codecov / codecov/patch

Intake/Home.swift#L40-L41

Added lines #L40 - L41 were not covered by tests
label: {
Image(systemName: "gear")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 30, height: 30)
.foregroundColor(.blue)
.accessibilityLabel(Text("SETTINGS"))
}
)

.padding()
}
Expand Down

0 comments on commit 6a73b95

Please sign in to comment.