Skip to content
Snippets Groups Projects
Commit d43bd75c authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix TV browsing unknown icon

Fixes #1548
parent a73f891f
No related branches found
No related tags found
1 merge request!802Fix TV browsing unknown icon
Pipeline #41002 passed with stage
in 3 minutes and 20 seconds
......@@ -695,7 +695,8 @@ fun getTvIconRes(mediaLibraryItem: MediaLibraryItem) = when (mediaLibraryItem.it
when (mw.type) {
MediaWrapper.TYPE_VIDEO -> R.drawable.ic_browser_video_big_normal
MediaWrapper.TYPE_DIR -> if (mw.uri.scheme == "file") R.drawable.ic_menu_folder_big else R.drawable.ic_menu_network_big
else -> R.drawable.ic_song_big
MediaWrapper.TYPE_AUDIO -> R.drawable.ic_song_big
else -> R.drawable.ic_browser_unknown_big_normal
}
}
MediaLibraryItem.TYPE_DUMMY -> {
......
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