mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 17:57:36 +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 '';
|
|
}
|
|
} |