Skip to content

Commit

Permalink
fix dapp build
Browse files Browse the repository at this point in the history
  • Loading branch information
llbartekll committed Jul 12, 2022
1 parent 00ebce5 commit 2b441f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/DApp/ Accounts/AccountsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ final class AccountsViewController: UIViewController, UITableViewDataSource, UIT
private func disconnect() {
Task {
do {
try await Sign.instance.disconnect(topic: session.topic, reason: Reason(code: 0, message: "disconnect"))
try await Sign.instance.disconnect(topic: session.topic)
DispatchQueue.main.async { [weak self] in
self?.onDisconnect?()
}
} catch {
print(error)
print(error)
// show failure alert
}
}
Expand Down

0 comments on commit 2b441f0

Please sign in to comment.