mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-31 15:59:26 +00:00
remove auto setting 8 decimal places
This commit is contained in:
parent
16ca32a882
commit
a00f226f52
1 changed files with 2 additions and 2 deletions
|
@ -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() ?? "";
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue