Rename onClickArea

This commit is contained in:
Lucas Lima 2020-06-25 22:07:02 -03:00
parent 35b9803e9b
commit abcf8d24bf
No known key found for this signature in database
GPG key ID: C5EEF4C30BFBF8D7
2 changed files with 2 additions and 2 deletions

View file

@ -95,7 +95,7 @@ class AreaAdapter(
if (position == RecyclerView.NO_POSITION) {
Log.d(TAG, "Item no longer exists.")
} else if (clickEnabled) {
viewModel.onClickArea(position)
viewModel.onSingleClick(position)
}
}

View file

@ -268,7 +268,7 @@ class GameViewModel @ViewModelInject constructor(
analyticsManager.sentEvent(Analytics.PressArea(index))
}
fun onClickArea(index: Int) {
fun onSingleClick(index: Int) {
var openAnyArea = false
if (levelFacade.turnOffAllHighlighted()) {