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,9 +16,9 @@
|
|||
|
||||
package io.element.android.x.designsystem.components.avatar
|
||||
|
||||
import androidx.compose.runtime.Stable
|
||||
import androidx.compose.runtime.Immutable
|
||||
|
||||
@Stable
|
||||
@Immutable
|
||||
data class AvatarData(
|
||||
val name: String = "",
|
||||
val model: ByteArray? = null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue