added wallet source to quotation preparation

This commit is contained in:
Stephan D
2025-12-24 19:59:50 +01:00
parent 68b82cbca2
commit e0820c47c2
35 changed files with 151 additions and 138 deletions

View File

@@ -48,6 +48,21 @@ Currency currencyStringToCode(String currencyCode) {
}
}
String currencyCodeToString(Currency currencyCode) {
switch (currencyCode) {
case Currency.usd:
return 'USD';
case Currency.usdt:
return 'USDT';
case Currency.usdc:
return 'USDC';
case Currency.rub:
return 'RUB';
case Currency.eur:
return 'EUR';
}
}
IconData iconForCurrencyType(Currency currencyCode) {
switch (currencyCode) {
case Currency.usd: