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

Remove exception if subs language is not found

parent b1073a00
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,6 @@ class MultiSelectionSpinner : AppCompatSpinner, OnMultiChoiceClickListener, Dial
selection = selection.map { false }.toMutableList()
selectedIndices.forEach {
if (it >= 0 && it < selection.size) selection[it] = true
else throw IllegalArgumentException("Index $it is out of bounds.")
}
adapter.clear()
adapter.add(buildSelectedItemString())
......
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