Fix bugs
This commit is contained in:
parent
425c8b494b
commit
e2cbb287cc
2 changed files with 4 additions and 2 deletions
|
@ -34,7 +34,9 @@ class CloudSaveManager(
|
|||
CloudSave(
|
||||
playId = playerId,
|
||||
completeTutorial = if (preferencesRepository.isTutorialCompleted()) 1 else 0,
|
||||
selectedTheme = preferencesRepository.themeId().toInt(),
|
||||
selectedTheme = if (preferencesRepository.isPremiumEnabled()) 3.coerceAtLeast(
|
||||
preferencesRepository.themeId().toInt()
|
||||
) else 0,
|
||||
squareRadius = preferencesRepository.squareRadius(),
|
||||
squareSize = preferencesRepository.squareSizeMultiplier(),
|
||||
touchTiming = preferencesRepository.customLongPressTimeout().toInt(),
|
||||
|
|
|
@ -64,7 +64,7 @@ class SupportAppDialogFragment : AppCompatDialogFragment() {
|
|||
}
|
||||
|
||||
val unlockMessage = context.getString(R.string.try_it)
|
||||
setNeutralButton("$unlockMessage \uD83C\uDF9E️") { _, _ ->
|
||||
setPositiveButton("$unlockMessage \uD83C\uDF9E️") { _, _ ->
|
||||
activity?.let {
|
||||
if (!it.isFinishing) {
|
||||
adsManager.requestRewarded(
|
||||
|
|
Loading…
Reference in a new issue