From 63affaa8145a2a0817b3a3b1abeee42cf085a2a8 Mon Sep 17 00:00:00 2001 From: Robert Schulze Dieckhoff Date: Thu, 19 Dec 2024 17:24:46 +0100 Subject: [PATCH] Applied change from code review --- ios/Classes/dropIn/DropInPlatformApi.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Classes/dropIn/DropInPlatformApi.swift b/ios/Classes/dropIn/DropInPlatformApi.swift index 2c95debd..54ae6ce9 100644 --- a/ios/Classes/dropIn/DropInPlatformApi.swift +++ b/ios/Classes/dropIn/DropInPlatformApi.swift @@ -278,7 +278,7 @@ class DropInPlatformApi: DropInPlatformInterface { } private func removeGiftCardPaymentMethods(paymentMethods: PaymentMethods, isPartialPaymentSupported: Bool) -> PaymentMethods { - guard !isPartialPaymentSupported else { + if isPartialPaymentSupported { return paymentMethods }