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

DROID-411 Editor | Fix | App crashes for video block in upload state when nested styling is enabled (#2578)

This commit is contained in:
Evgenii Kozlov 2022-09-01 16:45:41 +03:00 committed by GitHub
parent 9af602d395
commit 37f1c32187
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -20,7 +20,7 @@ class VideoUpload(
override val decoratableContainer: EditorDecorationContainer
get() = binding.decorationContainer
override val decoratableCard: View = binding.root
override val decoratableCard: View = binding.card
override fun uploadClick(target: String, clicked: (ListenerType) -> Unit) {
clicked(ListenerType.Video.Upload(target))

View file

@ -13,6 +13,7 @@
android:layout_height="match_parent"/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/card"
android:layout_width="match_parent"
android:layout_height="@dimen/dp_48"
android:background="@drawable/rectangle_media_block_placeholder">