Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ninaboord committed Mar 14, 2024
1 parent c7f8c61 commit 4ea015e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Intake/Elements.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ struct SubmitButtonWithAction: View {
@Environment(ReachedEndWrapper.self) private var end
var nextView: NavigationViews
var onButtonTap: () -> Void
var accessibilityIdentifier: String

var body: some View {
Button(action: {
Expand Down
4 changes: 2 additions & 2 deletions Intake/General Data View/PatientInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ struct PatientInfo: View {
if FeatureFlags.skipToScrollable {
SubmitButtonWithAction(nextView: .pdfs, onButtonTap: {

Check failure on line 120 in Intake/General Data View/PatientInfo.swift

View workflow job for this annotation

GitHub Actions / SwiftLint / SwiftLint

Multiline Arguments Violation: Arguments should be either on the same line, or one per line (multiline_arguments)
updateData()
})
}, accessibilityIdentifier: "Next")
} else {
SubmitButtonWithAction(nextView: .medical, onButtonTap: {

Check failure on line 124 in Intake/General Data View/PatientInfo.swift

View workflow job for this annotation

GitHub Actions / SwiftLint / SwiftLint

Multiline Arguments Violation: Arguments should be either on the same line, or one per line (multiline_arguments)
updateData()
})
}, accessibilityIdentifier: "Next")
}
}
.task {
Expand Down

0 comments on commit 4ea015e

Please sign in to comment.