Using now TanMethodTypesToMigrate from BankingClient

This commit is contained in:
dankito 2024-10-20 11:23:54 +02:00
parent 395c29a63d
commit 62b750c4f3
2 changed files with 3 additions and 1 deletions

View File

@ -41,6 +41,7 @@ kotlin {
sourceSets {
commonMain.dependencies {
implementation(libs.banking.client.model)
implementation(libs.fints4k.banking.client)
implementation(libs.kotlinx.datetime)
implementation(libs.sqldelight.runtime)

View File

@ -21,6 +21,7 @@ import net.codinux.banking.client.model.tan.TanMediumStatus
import net.codinux.banking.client.model.tan.TanMediumType
import net.codinux.banking.client.model.tan.TanMethod
import net.codinux.banking.client.model.tan.TanMethodType
import net.codinux.banking.client.fints4k.FinTs4kMapper
import net.codinux.banking.persistence.entities.*
import net.codinux.banking.ui.model.AccountTransactionViewModel
import net.codinux.banking.ui.model.settings.*
@ -258,7 +259,7 @@ open class SqliteBankingRepository : BankingRepository {
bankId,
displayName,
mapToEnum(type, TanMethodType.entries, TanMethodTypesToMigrate),
mapToEnum(type, TanMethodType.entries, FinTs4kMapper.TanMethodTypesToMigrate),
identifier,
mapToInt(maxTanInputLength),
mapToEnum(allowedTanFormat, AllowedTanFormat.entries),