Implemented changed TanMethod
This commit is contained in:
parent
05181e5f25
commit
1890fd9151
|
@ -110,7 +110,11 @@ fun EnterTanDialog(tanChallengeReceived: TanChallengeReceived, onDismiss: () ->
|
||||||
"TAN Verfahren",
|
"TAN Verfahren",
|
||||||
challenge.availableTanMethods.sortedBy { it.identifier },
|
challenge.availableTanMethods.sortedBy { it.identifier },
|
||||||
challenge.selectedTanMethod,
|
challenge.selectedTanMethod,
|
||||||
{ Log.info { "User selected TanMethod $it" } }, // TODO: change TanMethod
|
{ tanMethod ->
|
||||||
|
if (tanMethod.type != TanMethodType.ChipTanFlickercode) {
|
||||||
|
tanChallengeReceived.callback(EnterTanResult(null, tanMethod))
|
||||||
|
}
|
||||||
|
},
|
||||||
{ it.displayName }
|
{ it.displayName }
|
||||||
) { tanMethod ->
|
) { tanMethod ->
|
||||||
if (tanMethod.type == TanMethodType.ChipTanFlickercode) {
|
if (tanMethod.type == TanMethodType.ChipTanFlickercode) {
|
||||||
|
|
Loading…
Reference in New Issue