Remove ad

This commit is contained in:
Lucas Lima 2020-09-16 08:02:45 -03:00
parent 6c89aedd3f
commit 874c9a7d47
No known key found for this signature in database
GPG key ID: 049CCC5A365B00D2

View file

@ -81,12 +81,6 @@ class EndGameDialogFragment : AppCompatDialogFragment() {
} else { } else {
setNeutralButton(R.string.retry) { _, _ -> setNeutralButton(R.string.retry) { _, _ ->
gameViewModel.retryObserver.postValue(Unit) gameViewModel.retryObserver.postValue(Unit)
activity?.let {
if (!preferencesRepository.isPremiumEnabled()) {
adsManager.requestRewarded(it, Ads.RewardsAds)
}
}
} }
} }
} }