Skip to content

Commit

Permalink
default to PayPalWebCheckoutViewController in Demo app (#1212)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxdesmarais authored Mar 13, 2024
1 parent 24f656f commit 5fd46e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Demo/Application/Base/ContainmentViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class ContainmentViewController: UIViewController {

private func instantiateViewController(with authorization: String) -> BaseViewController? {
guard let integrationName = UserDefaults.standard.string(forKey: "BraintreeDemoSettingsIntegration") else {
return nil
return PayPalWebCheckoutViewController(authorization: authorization)
}

switch integrationName {
Expand All @@ -213,7 +213,7 @@ class ContainmentViewController: UIViewController {
case "VenmoViewController":
return VenmoViewController(authorization: authorization)
default:
return nil
return PayPalWebCheckoutViewController(authorization: authorization)
}
}

Expand Down

0 comments on commit 5fd46e4

Please sign in to comment.