Commit eea7551c authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

TV Browser: sanity check

parent f9940163
......@@ -123,8 +123,10 @@ class FileTvItemAdapter(private val type: Long, private val eventsHandler: IEven
val scale = newWidth.toFloat() / itemSize
if (layoutPosition in dataset.indices) {
eventsHandler.onItemFocused(binding.root, getItem(layoutPosition))
} else {
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