Commit 894f0588 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix NullPointerException

parent 5f7bda25
......@@ -261,7 +261,7 @@ class FileBrowserTvFragment : BaseBrowserTvFragment<MediaLibraryItem>(), PathAda
}
private fun togglefavorite() {
currentItem.let { item ->
currentItem?.let { item ->
lifecycleScope.launch {
val mw = (item as MediaWrapper)
withContext(Dispatchers.IO) {
......
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