Make some data class @Immutable when needed
This commit is contained in:
parent
ad7bf21f6d
commit
478f516cf1
5 changed files with 8 additions and 37 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue