Fix shortcut on tutorial

This commit is contained in:
Lucas Lima 2020-10-04 20:06:56 -03:00
parent 56b3b387bf
commit 5b48b30778
No known key found for this signature in database
GPG key ID: 049CCC5A365B00D2

View file

@ -519,7 +519,7 @@ class GameActivity : ThematicActivity(R.layout.activity_game), DialogInterface.O
}
private fun loadGameTutorial() {
disableShortcutIcon(true)
disableShortcutIcon(false)
supportFragmentManager.apply {
findFragmentById(R.id.levelContainer)?.let { it ->
@ -700,7 +700,7 @@ class GameActivity : ThematicActivity(R.layout.activity_game), DialogInterface.O
Event.StartTutorial -> {
status = Status.PreGame
gameViewModel.stopClock()
disableShortcutIcon(true)
disableShortcutIcon(false)
loadGameTutorial()
}
Event.FinishTutorial -> {