srctree

Robin Linden parent c91d0703 cb18f04d
Don't display "completed" above completed image fts

This information is conveyed anyway as they're displayed inline whencomplete.

inlinesplit
atox/src/main/kotlin/ui/chat/ChatAdapter.kt added: 3, removed: 2, total 1
@@ -201,7 +201,8 @@ class ChatAdapter(
vh.acceptLayout.visibility = View.GONE
vh.cancelLayout.visibility = View.GONE
vh.progress.visibility = View.GONE
vh.state.visibility = View.VISIBLE
vh.state.visibility =
if (fileTransfer.isImage() && fileTransfer.isComplete()) View.GONE else View.VISIBLE
} else if (!fileTransfer.isStarted()) {
if (fileTransfer.outgoing) {
vh.acceptLayout.visibility = View.GONE