diff --git a/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/feeds/FeedState.kt b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/feeds/FeedState.kt index 8a0a3e8648..f46ac43ea8 100644 --- a/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/feeds/FeedState.kt +++ b/commons/src/commonMain/kotlin/com/vitorpamplona/amethyst/commons/ui/feeds/FeedState.kt @@ -28,14 +28,18 @@ import kotlinx.coroutines.flow.MutableStateFlow @Stable sealed class FeedState { + @Stable object Loading : FeedState() + @Stable class Loaded( val feed: MutableStateFlow>, ) : FeedState() + @Stable object Empty : FeedState() + @Stable class FeedError( val errorMessage: String, ) : FeedState()