Make some data class @Immutable when needed

This commit is contained in:
ganfra 2023-01-11 17:08:56 +01:00
parent ad7bf21f6d
commit 478f516cf1
5 changed files with 8 additions and 37 deletions

View file

@ -16,11 +16,12 @@
package io.element.android.x.matrix.ui.model
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
import io.element.android.x.designsystem.components.avatar.AvatarData
import io.element.android.x.matrix.core.UserId
@Stable
@Immutable
data class MatrixUser(
val id: UserId,
val username: String? = null,