From 5fd46e42da2959724326179634aaa63299eecf88 Mon Sep 17 00:00:00 2001 From: Jax DesMarais-Leder Date: Wed, 13 Mar 2024 14:12:16 -0500 Subject: [PATCH] default to PayPalWebCheckoutViewController in Demo app (#1212) --- Demo/Application/Base/ContainmentViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/Application/Base/ContainmentViewController.swift b/Demo/Application/Base/ContainmentViewController.swift index 72b9957989..716519e6a4 100644 --- a/Demo/Application/Base/ContainmentViewController.swift +++ b/Demo/Application/Base/ContainmentViewController.swift @@ -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 { @@ -213,7 +213,7 @@ class ContainmentViewController: UIViewController { case "VenmoViewController": return VenmoViewController(authorization: authorization) default: - return nil + return PayPalWebCheckoutViewController(authorization: authorization) } }