diff --git a/Sources/PrimerSDK/Classes/User Interface/Components/PrimerCustomResult/PrimerResultPaymentStatusViewModel.swift b/Sources/PrimerSDK/Classes/User Interface/Components/PrimerCustomResult/PrimerResultPaymentStatusViewModel.swift index 73fbe4d99..159fd927d 100644 --- a/Sources/PrimerSDK/Classes/User Interface/Components/PrimerCustomResult/PrimerResultPaymentStatusViewModel.swift +++ b/Sources/PrimerSDK/Classes/User Interface/Components/PrimerCustomResult/PrimerResultPaymentStatusViewModel.swift @@ -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 } }