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

TV: Fix protocole displayed in favorites folders

parent 611e0528
No related branches found
No related tags found
No related merge requests found
Pipeline #10805 passed with stage
in 26 minutes and 37 seconds
......@@ -71,7 +71,7 @@ class VerticalGridActivity : BaseTvActivity(), BrowserActivityInterface {
val item = if (uri == null) null else MLServiceLocator.getAbstractMediaWrapper(uri)
if (item != null && intent.hasExtra(FAVORITE_TITLE)) item.title = intent.getStringExtra(FAVORITE_TITLE)
fragment = FileBrowserTvFragment.newInstance(TYPE_NETWORK, item, true)
fragment = FileBrowserTvFragment.newInstance(TYPE_NETWORK, item, item === null)
} else if (type == HEADER_DIRECTORIES) {
fragment = FileBrowserTvFragment.newInstance(TYPE_FILE, intent.data?.let { MLServiceLocator.getAbstractMediaWrapper(it) }, true)
} else {
......
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