Commit 4188a6bb authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix refresh on networks

parent 8e153e53
......@@ -42,7 +42,10 @@ class NetworkProvider(url: String? = null, showHiddenFiles: Boolean): BrowserPro
override fun fetch() {}
override fun refresh(): Boolean {
super.fetch()
if (url == null) {
dataset.value = mutableListOf()
browseRoot()
} else super.refresh()
return 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