Skip to content

Commit

Permalink
remove toast used for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mpatc committed Sep 18, 2020
1 parent 9a8bba6 commit 155320a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ val MIN_FEE = 1 // sat/byte
var DONT_SEND = false



class SendDialog : AlertDialogFragment() {
class Model : ViewModel() {
var paymentRequest: PyObject? = null
Expand Down Expand Up @@ -78,9 +77,6 @@ class SendDialog : AlertDialogFragment() {
}
arguments = null
}
if (DONT_SEND) {
toast("The DONTSEND flag is true")
}
setPaymentRequest(model.paymentRequest)

etAmount.addTextChangedListener(object : TextWatcher {
Expand Down Expand Up @@ -349,7 +345,6 @@ class SendPasswordDialog : PasswordDialog<Unit>() {
}
}


private fun checkExpired(pr: PyObject) {
if (pr.callAttr("has_expired").toBoolean()) {
throw ToastException(R.string.payment_request_has)
Expand Down

0 comments on commit 155320a

Please sign in to comment.