Commit 70cb52b2 authored by Viktor De Pasquale's avatar Viktor De Pasquale Committed by John Wu

Fixed fast scroll button being visible when log is empty

parent 5c7f69ac
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment