cake_wallet/lib/src/domain/common/currency_formatter.dart

10 lines
221 B
Dart
Raw Normal View History

2020-01-04 19:31:52 +00:00
import 'package:cake_wallet/src/domain/common/crypto_currency.dart';
String cryptoToString(CryptoCurrency crypto) {
switch (crypto) {
case CryptoCurrency.xmr:
return 'XMR';
default:
return '';
}
}