mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
12 lines
No EOL
261 B
Dart
12 lines
No EOL
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 '';
|
|
}
|
|
} |