Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
fix reportview send button error
Browse files Browse the repository at this point in the history
  • Loading branch information
mltbnz committed Mar 26, 2023
1 parent 8839a0f commit cffcc11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WegliKit/Sources/ReportFeature/ReportView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public struct ReportView: View {
.frame(maxWidth: .infinity, alignment: .center)
}
)
.disabled(viewStore.canSubmitNotice || viewStore.isSubmittingNotice)
.disabled(!viewStore.canSubmitNotice || viewStore.isSubmittingNotice)
.modifier(SubmitButtonStyle(color: .wegliBlue, disabled: !viewStore.state.canSubmitNotice))
.padding([.horizontal])
.padding(.vertical, .grid(1))
Expand Down

0 comments on commit cffcc11

Please sign in to comment.