Rename onClickArea
This commit is contained in:
parent
35b9803e9b
commit
abcf8d24bf
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue