Updated on 2026-08-14
This commit is contained in:
parent
8b81f309c8
commit
d28e324cd0
22 changed files with 151 additions and 1473 deletions
|
|
@ -327,9 +327,10 @@ class DetailsMiddleware {
|
|||
scanResponse: ScanResponse?,
|
||||
enableAccessCodesSaving: Boolean,
|
||||
): CompletionResult<Unit> {
|
||||
val userWallet = scanResponse?.let { UserWalletBuilder(it).build() }
|
||||
val userWallet = userWalletsListManager.selectedUserWalletSync
|
||||
?: scanResponse?.let { UserWalletBuilder(it).build() }
|
||||
?: return CompletionResult.Failure(
|
||||
TangemSdkError.ExceptionError(IllegalStateException("scanResponse is null")),
|
||||
error = TangemSdkError.ExceptionError(IllegalStateException("scanResponse is null")),
|
||||
)
|
||||
|
||||
updateUserWalletsListManager(enableUserWalletsSaving = true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue