mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +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 '';
|
|
}
|
|
} |