Ranking non-ChipTan methods before ChipTan methods (but should make no difference as there shouldn't be any bank supporting both)

This commit is contained in:
dankito 2024-10-16 15:19:06 +02:00
parent 7448b7e94c
commit 12304684fc
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,10 @@ enum class TanMethodType {
val NonVisualWithoutChipTanManual = NonVisual.toMutableList().apply { remove(TanMethodType.ChipTanManual) }.toList() val NonVisualWithoutChipTanManual = NonVisual.toMutableList().apply { remove(TanMethodType.ChipTanManual) }.toList()
val ImageBased = listOf(TanMethodType.QrCode, TanMethodType.ChipTanQrCode, TanMethodType.photoTan, TanMethodType.ChipTanPhotoTanMatrixCode) val ImageBased = listOf(
TanMethodType.QrCode, TanMethodType.photoTan, // non ChipTan
TanMethodType.ChipTanQrCode, TanMethodType.ChipTanPhotoTanMatrixCode // ChipTan; QrCode (e.g. used by Sparkassen) is faster than MatrixCode (e.g. used by Volksbanken)
)
val NonVisualOrImageBased = buildList { val NonVisualOrImageBased = buildList {
addAll(NonVisualWithoutChipTanManual) addAll(NonVisualWithoutChipTanManual)