Commit 31986932 authored by deregges's avatar deregges

Fixed crash on Highscores due to class visibility issues

parent 2186fed2
......@@ -42,7 +42,7 @@ class Highscores : AppCompatActivity() {
}
}
private class HighscoreTabFragment(private val diff: Constants.Difficulty) : Fragment() {
class HighscoreTabFragment(private val diff: Constants.Difficulty) : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
val items = scores[diff]
if (items.isNullOrEmpty()) return TextView(inflater.context).apply { setText(R.string.highscores_empty) }
......
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