Immutable data class. var -> val

This commit is contained in:
Benoit Marty 2022-04-13 19:08:31 +02:00
parent 3435357b1c
commit 7773b75834
1 changed files with 2 additions and 3 deletions

View File

@ -20,9 +20,8 @@ import org.matrix.android.sdk.api.session.crypto.model.EncryptedFileInfo
/**
* Define the result of an encryption file
* TODO var should be val
*/
internal data class EncryptionResult(
var encryptedFileInfo: EncryptedFileInfo,
var encryptedByteArray: ByteArray
val encryptedFileInfo: EncryptedFileInfo,
val encryptedByteArray: ByteArray
)