Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable
This commit is contained in:
parent
b994a1ea91
commit
7348f74702
6 changed files with 14 additions and 0 deletions
|
|
@ -17,8 +17,10 @@
|
|||
package io.element.android.libraries.matrix.api.core
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.compose.runtime.Immutable
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Immutable
|
||||
sealed interface RoomIdOrAlias : Parcelable {
|
||||
@Parcelize
|
||||
@JvmInline
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue