diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt index 71dcc2b1..26437547 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/FinTsClient.kt @@ -177,7 +177,7 @@ open class FinTsClient @JvmOverloads constructor( // return GetAccountInfoResponse(it) } - val context = JobContext(JobContextType.AddAccount, this.callback, product, bank) // TODO: add / change JobContextType + val context = JobContext(JobContextType.GetAccountInfo, this.callback, product, bank) /* First dialog: Get user's basic data like BPD, customer system ID and her TAN methods */ diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/JobContextType.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/JobContextType.kt index e54f02a3..83ed05f6 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/JobContextType.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/model/JobContextType.kt @@ -9,7 +9,9 @@ enum class JobContextType { ChangeTanMedium, - AddAccount, + GetAccountInfo, + + AddAccount, // TODO: may split actions and create two JobContexts, one for GetAccountInfo and one for GetTransactions GetTransactions,