From 62ded42418603cc338d8fb57a9c06f1eb5727a5a Mon Sep 17 00:00:00 2001 From: Javi Rueda Date: Wed, 14 Apr 2021 14:29:20 +0200 Subject: [PATCH] Show total wallet balance in USD instead of spendable balance conversion --- app/src/main/java/io/lbry/browser/ui/wallet/WalletFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/lbry/browser/ui/wallet/WalletFragment.java b/app/src/main/java/io/lbry/browser/ui/wallet/WalletFragment.java index 0e7cd3bc..089977ca 100644 --- a/app/src/main/java/io/lbry/browser/ui/wallet/WalletFragment.java +++ b/app/src/main/java/io/lbry/browser/ui/wallet/WalletFragment.java @@ -688,7 +688,7 @@ public class WalletFragment extends BaseFragment implements SdkStatusListener, W double totalBalance = walletBalance.getTotal().doubleValue(); double spendableBalance = walletBalance.getAvailable().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(); if (detailRows == null) -- 2.45.2