Commit 0662bbf1 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix browser flags for slaves

parent 1535cfb8
...@@ -223,7 +223,7 @@ abstract class BrowserProvider(val context: Context, val dataset: LiveDataset<Me ...@@ -223,7 +223,7 @@ abstract class BrowserProvider(val context: Context, val dataset: LiveDataset<Me
abstract suspend fun browseRoot() abstract suspend fun browseRoot()
open fun getFlags() : Int { open fun getFlags() : Int {
var flags = MediaBrowser.Flag.Interact or MediaBrowser.Flag.NoSlavesAutodetect var flags = MediaBrowser.Flag.Interact
if (showHiddenFiles) flags = flags or MediaBrowser.Flag.ShowHiddenFiles if (showHiddenFiles) flags = flags or MediaBrowser.Flag.ShowHiddenFiles
return flags return flags
} }
......
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