Skip to content
Snippets Groups Projects
Commit 32bff664 authored by Duncan McNamara's avatar Duncan McNamara Committed by Nicolas Pomepuy
Browse files

BaseFragment: force updateFabPlayView

Remove unnecessary condition, as if hasFAB is false, updateFabPlayView
will have a null visibility, and fab / fabLarge will be hidden anyway.
This is usefull when the app starts in Browse, playlist or more where
fabPlay will not have been initialized yet.

Fixes #2901
parent e382bd70
No related branches found
No related tags found
1 merge request!1721BaseFragment: force updateFabPlayView
Pipeline #341319 passed with stage
in 8 minutes and 31 seconds
......@@ -73,7 +73,7 @@ abstract class BaseFragment : Fragment(), ActionMode.Callback {
it.setProgressBackgroundColorSchemeColor(bColor)
}
if (isMainNavigationPoint) manageFabNeverShow()
if (hasFAB()) updateFabPlayView()
updateFabPlayView()
}
fun manageFabNeverShow() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment