Skip to content

Commit

Permalink
fix: remove hide progress view
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxzero committed Oct 5, 2023
1 parent 702174a commit 3f43bbf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ class AuthorizingPaymentActivity : AppCompatActivity() {
}

viewModel.isLoading.observe(this) {
// Closing transaction will also hide the progress view.
// So, we only show the progress view.
if (it) {
viewModel.getTransaction().getProgressView(this).showProgress()
} else {
viewModel.getTransaction().getProgressView(this).hideProgress()
}
}

Expand Down

0 comments on commit 3f43bbf

Please sign in to comment.