Konsist: check that if sealed interface is used in parameter of Composable, it has the @Stable or @Immutable annotation

This commit is contained in:
Benoit Marty
2023-11-02 18:52:09 +01:00
committed by Benoit Marty
parent 3092ca23f0
commit 21200df294
19 changed files with 63 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
*/
plugins {
id("io.element.android-library")
id("io.element.android-compose-library")
}
android {
@@ -16,6 +16,9 @@
package io.element.android.services.apperror.api
import androidx.compose.runtime.Immutable
@Immutable
sealed interface AppErrorState {
data object NoError : AppErrorState