Set default value for errorToShowToUser
This commit is contained in:
parent
d4f582914a
commit
a0e9864a73
|
@ -6,7 +6,7 @@ import net.dankito.banking.ui.model.*
|
||||||
open class AddAccountResponse(
|
open class AddAccountResponse(
|
||||||
open val bank: TypedBankData,
|
open val bank: TypedBankData,
|
||||||
retrievedData: List<RetrievedAccountData> = listOf(),
|
retrievedData: List<RetrievedAccountData> = listOf(),
|
||||||
errorToShowToUser: String?,
|
errorToShowToUser: String? = null,
|
||||||
wrongCredentialsEntered: Boolean = false,
|
wrongCredentialsEntered: Boolean = false,
|
||||||
userCancelledAction: Boolean = false
|
userCancelledAction: Boolean = false
|
||||||
) : GetTransactionsResponse(retrievedData, errorToShowToUser, wrongCredentialsEntered, userCancelledAction) {
|
) : GetTransactionsResponse(retrievedData, errorToShowToUser, wrongCredentialsEntered, userCancelledAction) {
|
||||||
|
|
Loading…
Reference in New Issue