show Rate Us in About only after 10 launches, not 3

This commit is contained in:
tibbi 2018-07-18 16:33:10 +02:00
parent cba54641b7
commit 8b5639b021
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ buildscript {
propMinSdkVersion = 16 propMinSdkVersion = 16
propTargetSdkVersion = propCompileSdkVersion propTargetSdkVersion = propCompileSdkVersion
propVersionCode = 1 propVersionCode = 1
propVersionName = '4.5.1' propVersionName = '4.5.2'
kotlin_version = '1.2.51' kotlin_version = '1.2.51'
support_libs = '27.1.1' support_libs = '27.1.1'
} }

View file

@ -111,7 +111,7 @@ class AboutActivity : BaseSimpleActivity() {
} }
private fun setupRateUs() { private fun setupRateUs() {
if (baseConfig.appRunCount < 3) { if (baseConfig.appRunCount < 10) {
about_rate_us.visibility = View.GONE about_rate_us.visibility = View.GONE
} else { } else {
about_rate_us.setOnClickListener { about_rate_us.setOnClickListener {