Commit f146027f authored by Geoffrey Métais's avatar Geoffrey Métais

Prevent NPE

parent 6a04fdb0
......@@ -112,7 +112,7 @@ public class NetworkBrowserFragment extends BaseBrowserFragment {
@Override
public void onHiddenChanged(boolean hidden) {
super.onHiddenChanged(hidden);
if (!mRoot)
if (!mRoot || mFabPlay == null)
return;
if (hidden) {
setFabPlayVisibility(false);
......
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