1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3244 Editor | Fix | Create link with card preview by default (#2227)

This commit is contained in:
Evgenii Kozlov 2025-04-02 14:23:25 +02:00 committed by GitHub
parent 7c35f039cd
commit 0099b9688f
Signed by: github
GPG key ID: B5690EEEBB952194

View file

@ -908,7 +908,13 @@ class Middleware @Inject constructor(
targetId = command.target,
position = command.position.toMiddlewareModel(),
fields = null,
spaceId = command.space
spaceId = command.space,
block = Block(
link = Block.Content.Link(
style = Block.Content.Link.Style.Page,
cardStyle = Block.Content.Link.CardStyle.Card
)
)
)
logRequestIfDebug(request)