mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2061 Widgets | Fix | Collection widget should not display dependent objects (#804)
This commit is contained in:
parent
c3d6882e5f
commit
8087338ce5
3 changed files with 333 additions and 6 deletions
|
@ -38,6 +38,16 @@ fun StubObject(
|
|||
)
|
||||
)
|
||||
|
||||
fun StubObjectMinim(
|
||||
id: String = MockDataFactory.randomUuid(),
|
||||
name: String = MockDataFactory.randomString()
|
||||
): ObjectWrapper.Basic = ObjectWrapper.Basic(
|
||||
map = mapOf(
|
||||
Relations.ID to id,
|
||||
Relations.NAME to name
|
||||
)
|
||||
)
|
||||
|
||||
fun StubObjectView(
|
||||
root: Id,
|
||||
blocks: List<Block> = emptyList(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue