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:
parent
54fcd24757
commit
620d1fa34b
13 changed files with 26 additions and 52 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue