Skip to content

Commit

Permalink
Add explicit returns to appease Xcode 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewc committed Aug 29, 2024
1 parent a75ea5f commit f018e05
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ class PrimerResultPaymentStatusViewModel: ObservableObject {
var subtitle: String {
switch paymentStatus {
case .success:
Strings.ResultView.Subtitle.successful
return Strings.ResultView.Subtitle.successful
case .failed:
Strings.ResultView.Subtitle.failed
return Strings.ResultView.Subtitle.failed
case .cancelled:
Strings.ResultView.Subtitle.cancelled
return Strings.ResultView.Subtitle.cancelled
}
}

Expand Down

0 comments on commit f018e05

Please sign in to comment.