Implemented changed TanMethod

This commit is contained in:
dankito 2024-09-10 01:28:09 +02:00
parent 05181e5f25
commit 1890fd9151
1 changed files with 5 additions and 1 deletions

View File

@ -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) {