mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
12 lines
261 B
Dart
12 lines
261 B
Dart
import 'package:cake_wallet/entities/crypto_currency.dart';
|
|
|
|
String cryptoToString(CryptoCurrency crypto) {
|
|
switch (crypto) {
|
|
case CryptoCurrency.xmr:
|
|
return 'XMR';
|
|
case CryptoCurrency.btc:
|
|
return 'BTC';
|
|
default:
|
|
return '';
|
|
}
|
|
} |