fix: update send button state when compression is skipped (#547)

Refs: https://github.com/FossifyOrg/Messages/issues/165
This commit is contained in:
Naveen Singh 2025-10-12 17:03:56 +05:30 committed by GitHub
parent 9b9af6e702
commit d0312e0e40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View file

@ -160,6 +160,10 @@ class AttachmentsAdapter(
}
}
} else {
if (attachment.isPending) {
attachments.find { it.uri == attachment.uri }?.isPending = false
onReady()
}
loadMediaPreview(this, attachment)
}
}