From 0cba656914c4c02e0ab60feced95f10d9b05ce75 Mon Sep 17 00:00:00 2001 From: Robert Schulze Dieckhoff Date: Wed, 4 Sep 2024 10:33:13 +0200 Subject: [PATCH 1/2] Removed onError in card callback --- .../flutter/components/card/advanced/CardAdvancedCallback.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt b/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt index 753e12ff..db5e4893 100644 --- a/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt +++ b/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt @@ -14,8 +14,4 @@ internal class CardAdvancedCallback( assignCurrentComponent.invoke() super.onSubmit(state) } - - override fun onError(componentError: ComponentError) { - super.onError(componentError) - } } From b9701c08a1090682186f0ec18434baa841cd644b Mon Sep 17 00:00:00 2001 From: Robert Schulze Dieckhoff Date: Wed, 4 Sep 2024 10:49:55 +0200 Subject: [PATCH 2/2] Removed unused import --- .../flutter/components/card/advanced/CardAdvancedCallback.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt b/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt index db5e4893..c788e100 100644 --- a/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt +++ b/android/src/main/kotlin/com/adyen/checkout/flutter/components/card/advanced/CardAdvancedCallback.kt @@ -2,7 +2,6 @@ package com.adyen.checkout.flutter.components.card.advanced import ComponentFlutterInterface import com.adyen.checkout.card.CardComponentState -import com.adyen.checkout.components.core.ComponentError import com.adyen.checkout.flutter.components.base.ComponentAdvancedCallback internal class CardAdvancedCallback(