Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mbalsiger committed Jul 1, 2024
1 parent 2192777 commit 147c5fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Example-app/Base.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
"stand_alone_url_payment_session_end_state_reached" = "Something went wrong with the payment";
"stand_alone_internal_inconsistency_error" = "Something was called it the wrong order";
"stand_alone_generic_error_title" = "Something went wrong";
"stand_alone_url_seamless_title" = "Seamless View";
"stand_alone_url_payment_web" = "Get payment menu";
4 changes: 2 additions & 2 deletions Example-app/Views/StandaloneUrlView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ struct StandaloneUrlView: View {

Divider()

Text("Seamless View")
Text("stand_alone_url_seamless_title")
.font(.headline)

VStack(spacing: 4) {
Expand Down Expand Up @@ -416,7 +416,7 @@ struct StandaloneUrlView: View {
viewModel.paymentSessionSwedbankPayController?.delegate = viewModel
viewModel.displayPaymentSessionSwedbankPayController = true
} label: {
Text("Get payment menu")
Text("stand_alone_url_payment_web")
.smallFont()
.frame(maxWidth: .infinity)
.frame(height: 48)
Expand Down
2 changes: 2 additions & 0 deletions Example-app/en.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
"stand_alone_url_payment_session_end_state_reached" = "Something went wrong with the payment";
"stand_alone_internal_inconsistency_error" = "Something was called it the wrong order";
"stand_alone_generic_error_title" = "Something went wrong";
"stand_alone_url_seamless_title" = "Seamless View";
"stand_alone_url_payment_web" = "Get payment menu";

0 comments on commit 147c5fc

Please sign in to comment.