Skip to content

Commit

Permalink
BR panel progress bar not shown for failed balance
Browse files Browse the repository at this point in the history
  • Loading branch information
sujitacharya2005 committed Apr 12, 2023
1 parent d6339cd commit 77e4dce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1057,9 +1057,9 @@ public void onGetUserType(int userType) {

@Override
public void onBalance(boolean success) {
mWalletBalanceLayout.setAlpha(1.0f);
mWalletBalanceProgress.setVisibility(View.GONE);
if (success) {
mWalletBalanceLayout.setAlpha(1.0f);
mWalletBalanceProgress.setVisibility(View.GONE);
if (mBraveRewardsNativeWorker != null) {
BraveRewardsBalance walletBalanceObject =
mBraveRewardsNativeWorker.GetWalletBalance();
Expand Down

0 comments on commit 77e4dce

Please sign in to comment.