Commit 2e74cb21 authored by Geoffrey Métais's avatar Geoffrey Métais

Set correct FAB icon in network browser

parent adeb0a0b
......@@ -103,7 +103,7 @@ public class NetworkBrowserFragment extends BaseBrowserFragment {
public void onStart() {
super.onStart();
if (!isRootDirectory()) LocalBroadcastManager.getInstance(VLCApplication.getAppContext()).registerReceiver(mLocalReceiver, new IntentFilter(VlcLoginDialog.ACTION_DIALOG_CANCELED));
mFabPlay.setImageResource(R.drawable.ic_fab_add);
mFabPlay.setImageResource(isRootDirectory() ? R.drawable.ic_fab_add : R.drawable.ic_fab_play);
mFabPlay.setOnClickListener(this);
setFabPlayVisibility(true);
}
......
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