Merge pull request #4105 from vector-im/feature/ons/fix_failed_message_crash

Fix crash to render failed message warning stub
This commit is contained in:
Benoit Marty 2021-09-29 11:54:35 +02:00 committed by GitHub
commit 254e849db2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

1
changelog.d/4110.bugfix Normal file
View file

@ -0,0 +1 @@
Crash while rendering failed message warning

View file

@ -98,7 +98,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barrierDirection="top"
app:constraint_referenced_ids="composerLayout,notificationAreaView,failedMessagesWarningView" />
app:constraint_referenced_ids="composerLayout,notificationAreaView,failedMessagesWarningStub" />
<im.vector.app.features.sync.widget.SyncStateView
android:id="@+id/syncStateView"
@ -160,7 +160,8 @@
android:id="@+id/failedMessagesWarningStub"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inflatedId="@layout/view_stub_failed_message_warning_layout"
android:inflatedId="@+id/failedMessagesWarningStub"
android:layout="@layout/view_stub_failed_message_warning_layout"
app:layout_constraintBottom_toTopOf="@id/composerLayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />