Skip to content

Commit d0312e0

Browse files
authored
fix: update send button state when compression is skipped (#547)
Refs: #165
1 parent 9b9af6e commit d0312e0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
- Fixed keyword blocking for MMS messages ([#99])
1717
- Fixed contact number selection when adding members to a group ([#456])
1818
- Fixed a glitch in pattern lock after incorrect attempts
19+
- Fixed disabled send button when sending images without text ([#165])
1920

2021
## [1.3.0] - 2025-09-09
2122
### Added
@@ -158,6 +159,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
158159
[#334]: https://github.com/FossifyOrg/Messages/issues/334
159160
[#349]: https://github.com/FossifyOrg/Messages/issues/349
160161
[#359]: https://github.com/FossifyOrg/Messages/issues/359
162+
[#165]: https://github.com/FossifyOrg/Messages/issues/165
161163
[#456]: https://github.com/FossifyOrg/Messages/issues/456
162164
[#461]: https://github.com/FossifyOrg/Messages/issues/461
163165

app/src/main/kotlin/org/fossify/messages/adapters/AttachmentsAdapter.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ class AttachmentsAdapter(
160160
}
161161
}
162162
} else {
163+
if (attachment.isPending) {
164+
attachments.find { it.uri == attachment.uri }?.isPending = false
165+
onReady()
166+
}
163167
loadMediaPreview(this, attachment)
164168
}
165169
}

0 commit comments

Comments
 (0)