Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
IOS-7228 Change the logic for Receive pageChange the logic for Receiv…
Browse files Browse the repository at this point in the history
…e page (#776)
  • Loading branch information
AlekseiMuraveinik1 authored Jul 23, 2024
1 parent 00f2177 commit cbb7e82
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions BlockchainSdk/Common/Blockchain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,15 @@ public indirect enum Blockchain: Equatable, Hashable {
return name + testnetSuffix
}
}

public var coinDisplayName: String {
switch self {
case .ton:
"Toncoin"
default:
displayName
}
}

/// Provides a more descriptive display name for the fee currency (ETH) for some Ethereum L2s,
/// for example: `'Optimistic Ethereum (ETH)'` instead of just `'ETH'`
Expand Down

0 comments on commit cbb7e82

Please sign in to comment.