fix of build
This commit is contained in:
@@ -3,14 +3,14 @@ package dev.inmo.postssystem.services.posts.client.ui.create
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
sealed class PostCreateUIState {
|
||||
@Serializable
|
||||
object Init : PostCreateUIState()
|
||||
@Serializable
|
||||
object Uploading : PostCreateUIState()
|
||||
@Serializable
|
||||
object Fail : PostCreateUIState()
|
||||
@Serializable
|
||||
object Completed : PostCreateUIState()
|
||||
sealed interface PostCreateUIState {
|
||||
// @Serializable
|
||||
object Init : PostCreateUIState
|
||||
// @Serializable
|
||||
object Uploading : PostCreateUIState
|
||||
// @Serializable
|
||||
object Fail : PostCreateUIState
|
||||
// @Serializable
|
||||
object Completed : PostCreateUIState
|
||||
|
||||
}
|
||||
|
@@ -4,13 +4,13 @@ import dev.inmo.postssystem.features.posts.common.RegisteredPostWithContent
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
sealed class PostsListUIState {
|
||||
@Serializable
|
||||
object Loading : PostsListUIState()
|
||||
sealed interface PostsListUIState {
|
||||
// @Serializable
|
||||
object Loading : PostsListUIState
|
||||
|
||||
@Serializable
|
||||
data class Show(
|
||||
val posts: List<RegisteredPostWithContent>
|
||||
) : PostsListUIState()
|
||||
) : PostsListUIState
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user