Skip to content
Snippets Groups Projects
Commit e3bfc023 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix FAB improperly displayed in the StorageBrowserFragment

parent 263247db
No related branches found
No related tags found
1 merge request!1750Fix FAB improperly displayed in the StorageBrowserFragment
Pipeline #355562 passed with stage
in 22 minutes and 25 seconds
......@@ -672,7 +672,7 @@ abstract class BaseBrowserFragment : MediaBrowserFragment<BrowserModel>(), IRefr
private fun updateFab() {
fabPlay?.let {
if (adapter.mediaCount > 0 || viewModel.url?.startsWith("file") == true) {
if (this !is StorageBrowserFragment && (adapter.mediaCount > 0 || viewModel.url?.startsWith("file") == true)) {
setFabPlayVisibility(true)
it.setOnClickListener{onFabPlayClick(it)}
} else {
......
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