mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-20 00:58:25 +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,
|
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…
x
Reference in New Issue
Block a user