ui: fix toolbar state not persisting

Fix an issue where the collapsing toolbar would not preserve it's state
when navigating.

Apparently you need to add an ID to a view to get it's state to be
restored. There is no warning for this at all. Android, everyone.
This commit is contained in:
OxygenCobalt
2022-06-13 10:40:28 -06:00
parent e914da4bd1
commit 543a3ebffb
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -33,8 +33,8 @@
android:hint="@string/hint_search_library"
android:imeOptions="actionSearch|flagNoExtractUi"
android:inputType="textFilter"
android:paddingStart="0dp"
android:paddingEnd="0dp" />
android:paddingStart="@dimen/spacing_tiny"
android:paddingEnd="0dp"/>
</com.google.android.material.textfield.TextInputLayout>