Skip to content

Commit

Permalink
NEVISACCESSAPP-6287: Fix comment for TransactionConfirmationResponse …
Browse files Browse the repository at this point in the history
…and require the account to exist

- Now that transaction confirmation is after Account Selection, it should always be determined at this point
  • Loading branch information
balazs-gerlei committed Nov 8, 2024
1 parent 9396c81 commit f1bf770
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ import ch.nevis.mobile.sdk.api.localdata.Account

/**
* [Response] class that indicates a transaction confirmation has to be started.
* Typically the received [Account] set is shown to the user and he/she selects one of them.
* After the account selection [ch.nevis.exampleapp.coroutines.domain.usecase.SelectAccountUseCase] is called
* to continue the operation.
* After the transaction confirmation, [ch.nevis.exampleapp.coroutines.domain.usecase.SelectAccountUseCase]
* should be called with the contained account to continue the operation.
*
* @constructor Creates a new instance.
* @param account The previously selected account.
Expand All @@ -24,7 +23,7 @@ class TransactionConfirmationResponse (
/**
* The previously selected account.
*/
val account: Account? = null,
val account: Account,

/**
* The optional transaction data/message that is sent during an authentication process.
Expand Down

0 comments on commit f1bf770

Please sign in to comment.