mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-01 03:26:01 +01:00
Fix crash when restoring compose view stubs with saved state.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user