mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
Hide Resend if no error
This commit is contained in:
parent
0824713ac5
commit
b26c98af68
@ -130,7 +130,7 @@ class MessageDetailActivity : PassphraseRequiredActionBarActivity() {
|
||||
threadDb = threadDb,
|
||||
messageDetails = details,
|
||||
onReply = { setResultAndFinish(ON_REPLY) },
|
||||
onResend = { setResultAndFinish(ON_RESEND) },
|
||||
onResend = details.error?.let { { setResultAndFinish(ON_RESEND) } },
|
||||
onDelete = { setResultAndFinish(ON_DELETE) },
|
||||
onClickImage = { slide ->
|
||||
// only open to downloaded images
|
||||
|
Loading…
Reference in New Issue
Block a user