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

Fix refresh on networks

parent 8e153e53
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
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