Fix crash when restoring compose view stubs with saved state.

This commit is contained in:
Cody Henthorne
2026-06-26 12:18:26 -04:00
parent f089aa41cf
commit 18b8e387ce
3 changed files with 4 additions and 0 deletions
@@ -4,5 +4,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:saveEnabled="false"
android:visibility="gone"
app:linkpreview_type="compose" />
@@ -95,6 +95,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="6dp"
android:layout_marginTop="6dp"
android:saveEnabled="false"
app:layout_constraintEnd_toEndOf="@+id/compose_bubble"
app:layout_constraintStart_toStartOf="@+id/compose_bubble"
app:layout_constraintTop_toBottomOf="@+id/edit_message_title" />
@@ -107,6 +108,7 @@
android:layout_height="wrap_content"
android:layout_marginHorizontal="6dp"
android:layout_marginTop="6dp"
android:saveEnabled="false"
app:layout_constraintEnd_toEndOf="@+id/compose_bubble"
app:layout_constraintStart_toStartOf="@+id/compose_bubble"
app:layout_constraintTop_toBottomOf="@+id/quote_view" />
@@ -5,6 +5,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:saveEnabled="false"
android:visibility="gone"
app:message_type="preview"
app:quote_colorPrimary="@color/signal_text_primary"