Renamed Manuell (German) to Manual (English)

This commit is contained in:
dankito 2024-10-16 15:06:01 +02:00
parent 647f848d5f
commit 0e26a19d13
1 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ package net.codinux.banking.client.model.tan
enum class TanMethodType {
EnterTan,
ChipTanManuell,
ChipTanManual,
ChipTanFlickerCode,
@ -33,16 +33,16 @@ enum class TanMethodType {
companion object {
val NonVisual = listOf(TanMethodType.DecoupledTan, TanMethodType.DecoupledPushTan, TanMethodType.AppTan, TanMethodType.SmsTan, TanMethodType.ChipTanManuell, TanMethodType.EnterTan)
val NonVisual = listOf(TanMethodType.DecoupledTan, TanMethodType.DecoupledPushTan, TanMethodType.AppTan, TanMethodType.SmsTan, TanMethodType.ChipTanManual, TanMethodType.EnterTan)
val NonVisualWithoutChipTanManuell = NonVisual.toMutableList().apply { remove(TanMethodType.ChipTanManuell) }.toList()
val NonVisualWithoutChipTanManual = NonVisual.toMutableList().apply { remove(TanMethodType.ChipTanManual) }.toList()
val ImageBased = listOf(TanMethodType.QrCode, TanMethodType.ChipTanQrCode, TanMethodType.photoTan, TanMethodType.ChipTanPhotoTanMatrixCode)
val NonVisualOrImageBased = buildList {
addAll(NonVisualWithoutChipTanManuell)
addAll(NonVisualWithoutChipTanManual)
addAll(ImageBased)
addAll(listOf(TanMethodType.ChipTanManuell)) // this is quite inconvenient for user, so i added it as last
addAll(listOf(TanMethodType.ChipTanManual)) // this is quite inconvenient for user, so i added it as last
}
val TanMethodsNotSupportedByMostApplications = listOf(TanMethodType.ChipTanUsb)