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

DROID-616 App | Refactoring | Remove legacy from core block models (#3082)

This commit is contained in:
Evgenii Kozlov 2023-04-11 19:07:53 +02:00 committed by GitHub
parent 54fcd24757
commit 620d1fa34b
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 26 additions and 52 deletions

View file

@ -2,6 +2,7 @@ package com.anytypeio.anytype.presentation
import com.anytypeio.anytype.core_models.Block
import com.anytypeio.anytype.core_models.Block.Content.Link
import com.anytypeio.anytype.core_models.Key
import com.anytypeio.anytype.test_utils.MockDataFactory
object MockBlockContentFactory {
@ -12,7 +13,7 @@ object MockBlockContentFactory {
iconSize: Link.IconSize = Link.IconSize.SMALL,
cardStyle: Link.CardStyle = Link.CardStyle.TEXT,
description: Link.Description = Link.Description.NONE,
relations: Set<Link.Relation> = emptySet(),
relations: Set<Key> = emptySet(),
): Link = Link(
target = target,
type = type,