do not show Purchase Thank You at settings, if it has ever been purchased

This commit is contained in:
tibbi 2020-12-28 17:55:53 +01:00
parent ef74d0ceb0
commit 550cb83794
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.32.14'
implementation 'com.simplemobiletools:commons:5.32.15'
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

View File

@ -31,7 +31,7 @@ class SettingsActivity : SimpleActivity() {
}
private fun setupPurchaseThankYou() {
settings_purchase_thank_you_holder.beVisibleIf(!isThankYouInstalled())
settings_purchase_thank_you_holder.beVisibleIf(!isOrWasThankYouInstalled())
settings_purchase_thank_you_holder.setOnClickListener {
launchPurchaseThankYouIntent()
}