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

TV: Fix protocole displayed in favorites folders

(cherry picked from commit e28a802a)
parent 3c4adb04
No related branches found
No related tags found
No related merge requests found
......@@ -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