Skip to content
Snippets Groups Projects
Commit 191266af authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Show network protocole at root level only

parent 4078d1bc
No related branches found
No related tags found
No related merge requests found
......@@ -295,6 +295,8 @@ public class BaseBrowserAdapter extends RecyclerView.Adapter<RecyclerView.ViewH
}
}
protected String getProtocole(MediaWrapper media) {
if (!fragment.isRootDirectory() || !(fragment instanceof NetworkBrowserFragment))
return null;
if (media.getType() != MediaWrapper.TYPE_DIR)
return null;
String scheme = media.getUri().getScheme();
......
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