add previews in binary content

This commit is contained in:
2022-03-18 19:04:57 +06:00
parent 787f8d7526
commit 72578f6b58
13 changed files with 254 additions and 49 deletions
features
common
server
src
jvmMain
kotlin
dev
inmo
postssystem
features
common
server
content
binary
server
src
jvmMain
kotlin
dev
inmo
postssystem
files
common
src
jvmMain
kotlin
dev
inmo
postssystem
features
gradle
server/src/main/java/dev/inmo/postssystem/server
services/posts/client/src/commonMain/kotlin/dev/inmo/postssystem/services/posts/client/ui/create

@ -20,7 +20,7 @@ class DefaultPostCreateUIModel(
FullNewPost(content)
) ?: return@runCatching
delay(1000L)
publicationService.publish(post.id)
// publicationService.publish(post.id)
}.onFailure {
_currentState.value = PostCreateUIState.Fail
}.onSuccess {