Skip to content

Commit

Permalink
make PayPalResultView look consisitent with CardVaultResultView
Browse files Browse the repository at this point in the history
  • Loading branch information
KunJeongPark committed Dec 10, 2023
1 parent 9fb823f commit 8e1e84c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ struct PayPalVaultResultView: View {
func getSuccessView(result: PayPalVaultResult) -> some View {
VStack(spacing: 16) {
HStack {
Text("Vault Token")
Text("Vault Success")
.font(.system(size: 20))
Spacer()
}
LeadingText("Vault Token ID", weight: .bold)
LeadingText("ID", weight: .bold)
LeadingText("\(result.tokenID)")
LeadingText("Approval Session ID", weight: .bold)
LeadingText("\(result.approvalSessionID)")
LeadingText("Status", weight: .bold)
LeadingText("APPROVED")
LeadingText("Approval Session ID", weight: .bold)
LeadingText("\(result.approvalSessionID)")
}
.frame(maxWidth: .infinity)
.padding()
Expand Down

0 comments on commit 8e1e84c

Please sign in to comment.