Extracted NonVisualWithoutChipTanManuell
This commit is contained in:
parent
f1981dc5f0
commit
ce39c1cf7d
|
@ -35,10 +35,12 @@ enum class TanMethodType {
|
|||
|
||||
val NonVisual = listOf(TanMethodType.DecoupledTan, TanMethodType.DecoupledPushTan, TanMethodType.AppTan, TanMethodType.SmsTan, TanMethodType.ChipTanManuell, TanMethodType.EnterTan)
|
||||
|
||||
val NonVisualWithoutChipTanManuell = NonVisual.toMutableList().apply { remove(TanMethodType.ChipTanManuell) }.toList()
|
||||
|
||||
val ImageBased = listOf(TanMethodType.QrCode, TanMethodType.ChipTanQrCode, TanMethodType.photoTan, TanMethodType.ChipTanPhotoTanMatrixCode)
|
||||
|
||||
val NonVisualOrImageBased = buildList {
|
||||
addAll(listOf(TanMethodType.DecoupledTan, TanMethodType.DecoupledPushTan, TanMethodType.AppTan, TanMethodType.SmsTan, TanMethodType.EnterTan))
|
||||
addAll(NonVisualWithoutChipTanManuell)
|
||||
addAll(ImageBased)
|
||||
addAll(listOf(TanMethodType.ChipTanManuell)) // this is quite inconvenient for user, so i added it as last
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue