mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Add missing @Immutable annotation
This commit is contained in:
committed by
Benoit Marty
parent
0b1d8e7c87
commit
97f1bbd66a
@@ -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 {
|
||||||
|
|||||||
+3
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user