fix: update send button state when compression is skipped (#547)
Refs: https://github.com/FossifyOrg/Messages/issues/165
This commit is contained in:
parent
9b9af6e702
commit
d0312e0e40
2 changed files with 6 additions and 0 deletions
|
|
@ -160,6 +160,10 @@ class AttachmentsAdapter(
|
|||
}
|
||||
}
|
||||
} else {
|
||||
if (attachment.isPending) {
|
||||
attachments.find { it.uri == attachment.uri }?.isPending = false
|
||||
onReady()
|
||||
}
|
||||
loadMediaPreview(this, attachment)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue