1
0
Fork 0
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:
Evgenii Kozlov 2024-01-26 18:24:55 +01:00 committed by GitHub
parent c3d6882e5f
commit 8087338ce5
Signed by: github
GPG key ID: B5690EEEBB952194
3 changed files with 333 additions and 6 deletions

View file

@ -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(),