Fix load of user preferences

This commit is contained in:
Lucas Lima 2020-07-05 20:58:30 -03:00
parent 5b7f345d69
commit 4f9c8380cc
No known key found for this signature in database
GPG key ID: 0259A3F43EC1027A

View file

@ -124,8 +124,8 @@ class GameViewModel @ViewModelInject constructor(
plantMinesExcept(save.firstOpen.value, true)
singleClick(save.firstOpen.value)
}
refreshUserPreferences()
}
refreshUserPreferences()
mineCount.postValue(setup.mines)
difficulty.postValue(save.difficulty)