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

Browser: Don't interact on subdirectories parsing

(cherry picked from commit 8ab9f00f)
parent f61d06ca
No related branches found
No related tags found
No related merge requests found
......@@ -196,7 +196,7 @@ abstract class BrowserProvider(val context: Context, val dataset: LiveDataset<Me
}
// request parsing
browserChannel = Channel(Channel.UNLIMITED)
mediabrowser?.browse(current.uri, getFlags())
mediabrowser?.browse(current.uri, if (showHiddenFiles) MediaBrowser.Flag.ShowHiddenFiles else 0)
// retrieve subitems
for (media in browserChannel) {
val mw = findMedia(media) ?: continue
......
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