Add missing @Immutable annotation

This commit is contained in:
Benoit Marty
2025-10-09 16:42:01 +02:00
committed by Benoit Marty
parent 0b1d8e7c87
commit 97f1bbd66a
2 changed files with 4 additions and 1 deletions
@@ -5,7 +5,7 @@
* Please see LICENSE files in the repository root for full details. * Please see LICENSE files in the repository root for full details.
*/ */
plugins { plugins {
id("io.element.android-library") id("io.element.android-compose-library")
} }
android { android {
@@ -7,6 +7,9 @@
package io.element.android.libraries.sessionstorage.api package io.element.android.libraries.sessionstorage.api
import androidx.compose.runtime.Immutable
@Immutable
sealed interface LoggedInState { sealed interface LoggedInState {
data object NotLoggedIn : LoggedInState data object NotLoggedIn : LoggedInState
data class LoggedIn( data class LoggedIn(