Show total wallet balance in USD instead of spendable balance conversion
This commit is contained in:
parent
5355456498
commit
62ded42418
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ public class WalletFragment extends BaseFragment implements SdkStatusListener, W
|
||||||
double totalBalance = walletBalance.getTotal().doubleValue();
|
double totalBalance = walletBalance.getTotal().doubleValue();
|
||||||
double spendableBalance = walletBalance.getAvailable().doubleValue();
|
double spendableBalance = walletBalance.getAvailable().doubleValue();
|
||||||
double supportingBalance = walletBalance.getClaims().doubleValue() + walletBalance.getTips().doubleValue() + walletBalance.getSupports().doubleValue();
|
double supportingBalance = walletBalance.getClaims().doubleValue() + walletBalance.getTips().doubleValue() + walletBalance.getSupports().doubleValue();
|
||||||
double usdBalance = spendableBalance * Lbryio.LBCUSDRate;
|
double usdBalance = totalBalance * Lbryio.LBCUSDRate;
|
||||||
double tipsBalance = walletBalance.getTips().doubleValue();
|
double tipsBalance = walletBalance.getTips().doubleValue();
|
||||||
|
|
||||||
if (detailRows == null)
|
if (detailRows == null)
|
||||||
|
|
Loading…
Reference in a new issue