Add missing @Immutable annotation
This commit is contained in:
parent
bc2b77d269
commit
2109ad74b5
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(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue