home: remove fab scrolling behavior

Remove the ability for the FAB to disappear on scroll, mostly because
the state would not be consistent and it was generally bad UX when
combined with the fast scroller.
This commit is contained in:
OxygenCobalt 2021-10-25 16:38:37 -06:00
parent fe0c2761c7
commit 255154c411
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
3 changed files with 4 additions and 2 deletions

View file

@ -100,7 +100,7 @@ dependencies {
implementation 'io.coil-kt:coil:1.4.0'
// Material
implementation "com.google.android.material:material:1.5.0-alpha04"
implementation "com.google.android.material:material:1.5.0-alpha05"
// --- DEBUG ---

View file

@ -225,6 +225,9 @@ class HomeFragment : Fragment() {
// There is no way a fast scrolling event can continue across a re-create. Reset it.
homeModel.updateFastScrolling(false)
// TODO: We actually have to move this to MainFragment. This also means we have to
// have more than one thing watching the coroutine, which completely breaks what I
// wanted to do.
homeModel.loaderResponse.observe(viewLifecycleOwner) { response ->
// Handle the loader response.
when (response) {

View file

@ -56,7 +56,6 @@
android:contentDescription="@string/desc_shuffle_all"
app:layout_anchor="@id/home_pager"
app:tint="?attr/colorControlNormal"
app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior"
app:layout_anchorGravity="bottom|end" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>