diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/EnterTanDialog.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/EnterTanDialog.kt index 5fcae2e..cfef224 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/EnterTanDialog.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/EnterTanDialog.kt @@ -110,7 +110,11 @@ fun EnterTanDialog(tanChallengeReceived: TanChallengeReceived, onDismiss: () -> "TAN Verfahren", challenge.availableTanMethods.sortedBy { it.identifier }, challenge.selectedTanMethod, - { Log.info { "User selected TanMethod $it" } }, // TODO: change TanMethod + { tanMethod -> + if (tanMethod.type != TanMethodType.ChipTanFlickercode) { + tanChallengeReceived.callback(EnterTanResult(null, tanMethod)) + } + }, { it.displayName } ) { tanMethod -> if (tanMethod.type == TanMethodType.ChipTanFlickercode) {