Skip to content

Commit

Permalink
Merge pull request #1463 from WalletConnect/fix/metadata_update_in_sa…
Browse files Browse the repository at this point in the history
…mple_wallet

Metadata update in sample wallet
  • Loading branch information
jakubuid authored Jul 31, 2024
2 parents 1f3c158 + 8b12b7c commit feccebb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ class SessionAuthenticateViewModel : ViewModel() {

SessionAuthenticateUI(
peerUI = PeerUI(
peerIcon = "https://raw.githubusercontent.com/WalletConnect/walletconnect-assets/master/Icon/Gradient/Icon.png",
peerName = "Kotlin Wallet",
peerUri = "https://walletconnect.com/",
peerDescription = "The communications protocol for web3.",
peerIcon = sessionAuthenticate.participant.metadata?.icons?.firstOrNull().toString(),
peerName = sessionAuthenticate.participant.metadata?.name ?: "WalletConnect",
peerUri = sessionAuthenticate.participant.metadata?.url ?: "https://walletconnect.com/",
peerDescription = sessionAuthenticate.participant.metadata?.url ?: "The communications protocol for web3.",
linkMode = sessionAuthenticate.participant.metadata?.linkMode ?: false
),
messages = messages,
Expand Down

0 comments on commit feccebb

Please sign in to comment.