Using now TanMethodTypesToMigrate from BankingClient
This commit is contained in:
parent
395c29a63d
commit
62b750c4f3
|
@ -41,6 +41,7 @@ kotlin {
|
||||||
sourceSets {
|
sourceSets {
|
||||||
commonMain.dependencies {
|
commonMain.dependencies {
|
||||||
implementation(libs.banking.client.model)
|
implementation(libs.banking.client.model)
|
||||||
|
implementation(libs.fints4k.banking.client)
|
||||||
implementation(libs.kotlinx.datetime)
|
implementation(libs.kotlinx.datetime)
|
||||||
|
|
||||||
implementation(libs.sqldelight.runtime)
|
implementation(libs.sqldelight.runtime)
|
||||||
|
|
|
@ -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.TanMediumType
|
||||||
import net.codinux.banking.client.model.tan.TanMethod
|
import net.codinux.banking.client.model.tan.TanMethod
|
||||||
import net.codinux.banking.client.model.tan.TanMethodType
|
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.persistence.entities.*
|
||||||
import net.codinux.banking.ui.model.AccountTransactionViewModel
|
import net.codinux.banking.ui.model.AccountTransactionViewModel
|
||||||
import net.codinux.banking.ui.model.settings.*
|
import net.codinux.banking.ui.model.settings.*
|
||||||
|
@ -258,7 +259,7 @@ open class SqliteBankingRepository : BankingRepository {
|
||||||
bankId,
|
bankId,
|
||||||
|
|
||||||
displayName,
|
displayName,
|
||||||
mapToEnum(type, TanMethodType.entries, TanMethodTypesToMigrate),
|
mapToEnum(type, TanMethodType.entries, FinTs4kMapper.TanMethodTypesToMigrate),
|
||||||
identifier,
|
identifier,
|
||||||
mapToInt(maxTanInputLength),
|
mapToInt(maxTanInputLength),
|
||||||
mapToEnum(allowedTanFormat, AllowedTanFormat.entries),
|
mapToEnum(allowedTanFormat, AllowedTanFormat.entries),
|
||||||
|
|
Loading…
Reference in New Issue