diff --git a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/EnterTanDialog.kt b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/EnterTanDialog.kt index 8c13fd37..431d2861 100644 --- a/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/EnterTanDialog.kt +++ b/fints4javaAndroidApp/src/main/java/net/dankito/banking/fints4java/android/ui/dialogs/EnterTanDialog.kt @@ -50,7 +50,7 @@ open class EnterTanDialog : DialogFragment() { protected open fun setupUI(rootView: View) { val flickerCodeView = rootView.flickerCodeView - if (tanChallenge.tanProcedure.type == TanProcedureType.ChipTan) { + if (tanChallenge.tanProcedure.type == TanProcedureType.ChipTanOptisch) { flickerCodeView.visibility = View.VISIBLE flickerCodeView.setCode(FlickercodeDecoder().decodeChallenge(tanChallenge.tanChallenge)) diff --git a/fints4javaLib/src/test/java/net/dankito/fints/java/JavaShowcase.java b/fints4javaLib/src/test/java/net/dankito/fints/java/JavaShowcase.java index 4e09c2f8..a65c6d1c 100644 --- a/fints4javaLib/src/test/java/net/dankito/fints/java/JavaShowcase.java +++ b/fints4javaLib/src/test/java/net/dankito/fints/java/JavaShowcase.java @@ -29,7 +29,7 @@ public class JavaShowcase { BankData bank = new BankDataMapper().mapFromBankInfo(foundBanks.get(0)); // set your customer data (customerId = Kontonummer in most cases, pin = online banking pin) CustomerData customer = new CustomerData("", ""); - customer.setSelectedTanProcedure(new TanProcedure("", Sicherheitsfunktion.PIN_TAN_911, TanProcedureType.ChipTan)); + customer.setSelectedTanProcedure(new TanProcedure("", Sicherheitsfunktion.PIN_TAN_911, TanProcedureType.ChipTanOptisch)); FinTsClientCallback callback = new FinTsClientCallback() { @Nullable diff --git a/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsTestBase.kt b/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsTestBase.kt index 2be12140..12b3d110 100644 --- a/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsTestBase.kt +++ b/fints4javaLib/src/test/kotlin/net/dankito/fints/FinTsTestBase.kt @@ -34,7 +34,7 @@ abstract class FinTsTestBase { const val ControlReference = "4477" - val Customer = CustomerData(CustomerId, Pin, selectedTanProcedure = TanProcedure("chipTAN-optisch", SecurityFunction, TanProcedureType.ChipTan), selectedLanguage = Language) + val Customer = CustomerData(CustomerId, Pin, selectedTanProcedure = TanProcedure("chipTAN-optisch", SecurityFunction, TanProcedureType.ChipTanOptisch), selectedLanguage = Language) const val ProductName = "FinTS-TestClient25Stellen"