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

DROID-1620 Collection | Enhancement | View's default object type (#332)

This commit is contained in:
Konstantin Ivanov 2023-09-04 11:54:14 +02:00 committed by GitHub
parent b3889e33c7
commit 2d1c206c63
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 662 additions and 240 deletions

View file

@ -32,7 +32,8 @@ fun StubDataViewView(
cardSize: DVViewerCardSize = DVViewerCardSize.SMALL,
hideIcon: Boolean = false,
coverFit: Boolean = false,
coverRelationKey: String? = null
coverRelationKey: String? = null,
defaultObjectType: Id = ObjectTypeIds.PAGE
): DVViewer = DVViewer(
id = id,
filters = filters,
@ -43,7 +44,8 @@ fun StubDataViewView(
cardSize = cardSize,
hideIcon = hideIcon,
coverFit = coverFit,
coverRelationKey = coverRelationKey
coverRelationKey = coverRelationKey,
defaultObjectType = defaultObjectType
)
fun StubDataViewViewRelation(