[UI] Restore showing message attachment size.

This commit is contained in:
Kuba Szczodrzyński 2021-10-02 16:15:32 +02:00
parent 3cdca5eb33
commit 2d277e80cc
No known key found for this signature in database
GPG Key ID: 70CB8A85BA1633CB

View File

@ -301,8 +301,8 @@ class MessageFragment : Fragment(), CoroutineScope {
it.putInt("profileId", message.profileId)
it.putLongArray("attachmentIds", message.attachmentIds!!.toLongArray())
it.putStringArray("attachmentNames", message.attachmentNames!!.toTypedArray())
//if (message.attachmentSizes.isNotNullNorEmpty())
// it.putLongArray("attachmentSizes", message.attachmentSizes!!.toLongArray())
if (message.attachmentSizes.isNotNullNorEmpty())
it.putLongArray("attachmentSizes", message.attachmentSizes!!.toLongArray())
}, owner = message)
}
}