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

DROID-3512 Widgets | Analytics | Add analytics for auto-widget creation property (#2285)

This commit is contained in:
Evgenii Kozlov 2025-04-11 12:56:36 +02:00 committed by GitHub
parent 0c46744963
commit 842e502b21
Signed by: github
GPG key ID: B5690EEEBB952194
13 changed files with 281 additions and 105 deletions

View file

@ -36,7 +36,6 @@ import com.anytypeio.anytype.core_models.NotificationPayload
import com.anytypeio.anytype.core_models.NotificationStatus
import com.anytypeio.anytype.core_models.ObjectOrder
import com.anytypeio.anytype.core_models.ObjectType
import com.anytypeio.anytype.core_models.ObjectTypeIds
import com.anytypeio.anytype.core_models.ObjectView
import com.anytypeio.anytype.core_models.Payload
import com.anytypeio.anytype.core_models.Process
@ -449,7 +448,8 @@ fun MBlock.toCoreWidget(): Block.Content.Widget {
MWidgetLayout.View -> Block.Content.Widget.Layout.VIEW
},
limit = content.limit,
activeView = content.viewId.ifEmpty { null }
activeView = content.viewId.ifEmpty { null },
isAutoAdded = content.autoAdded
)
}