Fixed fast scroll button being visible when log is empty
This commit is contained in:
parent
5c7f69acaa
commit
70cb52b2c7
@ -38,7 +38,7 @@
|
||||
</HorizontalScrollView>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
hide="@{viewModel.scrollPosition == item.items.size - 1}"
|
||||
hide="@{viewModel.scrollPosition == item.items.size - 1 || item.items.size == 0}"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
|
Loading…
Reference in New Issue
Block a user