mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-789 Widgets | Enhancement | Icon logic for tree widget elements + tests (#2882)
This commit is contained in:
parent
49730a39bd
commit
9c55d1a894
7 changed files with 397 additions and 27 deletions
|
@ -13,7 +13,8 @@ fun StubObject(
|
|||
description: String? = null,
|
||||
iconEmoji: String? = null,
|
||||
isReadOnly: Boolean? = null,
|
||||
isHidden: Boolean? = null
|
||||
isHidden: Boolean? = null,
|
||||
links: List<Id> = emptyList()
|
||||
): ObjectWrapper.Basic = ObjectWrapper.Basic(
|
||||
map = mapOf(
|
||||
Relations.ID to id,
|
||||
|
@ -26,7 +27,8 @@ fun StubObject(
|
|||
Relations.DESCRIPTION to description,
|
||||
Relations.ICON_EMOJI to iconEmoji,
|
||||
Relations.IS_READ_ONLY to isReadOnly,
|
||||
Relations.IS_HIDDEN to isHidden
|
||||
Relations.IS_HIDDEN to isHidden,
|
||||
Relations.LINKS to links
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue