remove auto setting 8 decimal places

This commit is contained in:
julian 2023-05-05 08:20:37 -06:00
parent 16ca32a882
commit a00f226f52

View file

@ -34,7 +34,7 @@ final efSendAmountStringProvider = StateProvider<String>((ref) {
if (refreshing && reversed) {
return "-";
} else {
return ref.watch(efSendAmountProvider)?.toStringAsFixed(8) ?? "";
return ref.watch(efSendAmountProvider)?.toString() ?? "";
}
});
final efReceiveAmountStringProvider = StateProvider<String>((ref) {
@ -44,7 +44,7 @@ final efReceiveAmountStringProvider = StateProvider<String>((ref) {
if (refreshing && reversed == false) {
return "-";
} else {
return ref.watch(efReceiveAmountProvider)?.toStringAsFixed(8) ?? "";
return ref.watch(efReceiveAmountProvider)?.toString() ?? "";
}
});