Skip to content

Commit

Permalink
Add button for sending to address
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenperera committed Oct 27, 2024
1 parent 7cac8c7 commit ae7e095
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ios/Cove/CoveApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct CoveApp: App {
Button("OK") {
self.alert = .none
}
case let .addressWrongNetwork(address: address, network: network, currentNetwork: currentNetwork):
case let .addressWrongNetwork(address: address, network: _, currentNetwork: _):
Button("Copy Address") {
UIPasteboard.general.string = String(address)
}
Expand All @@ -129,12 +129,15 @@ struct CoveApp: App {
Button("Cancel") {
self.alert = .none
}

case let .foundAddress(address):
Button("Copy Address") {
UIPasteboard.general.string = String(address)
}

Button("Send To Address") {
// TODO: Route to Send for the wallet
self.alert = .none
}
Button("Cancel") {
self.alert = .none
}
Expand Down

0 comments on commit ae7e095

Please sign in to comment.