Open first mine whatever the kind of click

This commit is contained in:
Lucas Lima 2020-04-03 17:53:53 -03:00
parent 277c1c6497
commit 2e2de890af

View file

@ -202,7 +202,7 @@ class GameViewModel(
refreshIndex(id)
}
hapticFeedbackInteractor.toggleFlagFeedback()
} else if (!preferencesRepository.useDoubleClickToOpen()) {
} else if (!preferencesRepository.useDoubleClickToOpen() || !levelFacade.hasMines) {
if (!levelFacade.hasMines) {
levelFacade.plantMinesExcept(index, true)
}