Skip to content

Commit

Permalink
IOS-5376 Open read command
Browse files Browse the repository at this point in the history
  • Loading branch information
tureck1y committed Dec 28, 2023
1 parent a7c4549 commit 570e25d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions TangemSdk/TangemSdk/Operations/Read/ReadCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ import Foundation
/// This command receives from the Tangem Card all the data about the card and the wallet,
/// including unique card number (CID or cardId) that has to be submitted while calling all other commands.
@available(iOS 13.0, *)
final class ReadCommand: Command {
var preflightReadMode: PreflightReadMode { .none }
public final class ReadCommand: Command {
public var preflightReadMode: PreflightReadMode { .none }

deinit {
Log.debug("ReadCommand deinit")
}

func run(in session: CardSession, completion: @escaping CompletionResult<Card>) {
public func run(in session: CardSession, completion: @escaping CompletionResult<Card>) {
transceive(in: session) { result in
switch result {
case .success(let response):
Expand Down

0 comments on commit 570e25d

Please sign in to comment.