Hide Resend if no error

pull/1261/head
andrew 1 year ago
parent 0824713ac5
commit b26c98af68

@ -130,7 +130,7 @@ class MessageDetailActivity : PassphraseRequiredActionBarActivity() {
threadDb = threadDb, threadDb = threadDb,
messageDetails = details, messageDetails = details,
onReply = { setResultAndFinish(ON_REPLY) }, onReply = { setResultAndFinish(ON_REPLY) },
onResend = { setResultAndFinish(ON_RESEND) }, onResend = details.error?.let { { setResultAndFinish(ON_RESEND) } },
onDelete = { setResultAndFinish(ON_DELETE) }, onDelete = { setResultAndFinish(ON_DELETE) },
onClickImage = { slide -> onClickImage = { slide ->
// only open to downloaded images // only open to downloaded images

Loading…
Cancel
Save