mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-16 19:40:43 +01:00
show the Upgraded From Free more often
This commit is contained in:
parent
85fa2fc5ac
commit
89b20bc8f4
@ -63,7 +63,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:1f50049630'
|
||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:2794ea914a'
|
||||
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
|
||||
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||
|
@ -21,7 +21,7 @@ import com.simplemobiletools.commons.extensions.*
|
||||
import com.simplemobiletools.commons.helpers.*
|
||||
import com.simplemobiletools.commons.models.FAQItem
|
||||
import com.simplemobiletools.commons.models.Release
|
||||
import com.simplemobiletools.commons.models.contacts.*
|
||||
import com.simplemobiletools.commons.models.contacts.Contact
|
||||
import com.simplemobiletools.contacts.pro.BuildConfig
|
||||
import com.simplemobiletools.contacts.pro.R
|
||||
import com.simplemobiletools.contacts.pro.adapters.ViewPagerAdapter
|
||||
@ -150,10 +150,9 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
||||
isFirstResume = false
|
||||
checkShortcuts()
|
||||
|
||||
if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.contacts")) {
|
||||
if (isPackageInstalled("com.simplemobiletools.contacts")) {
|
||||
val dialogText = getString(R.string.upgraded_to_pro_contacts, getString(R.string.phone_storage_hidden))
|
||||
ConfirmationDialog(this, dialogText, 0, R.string.ok, 0, false) {}
|
||||
config.wasUpgradedFromFreeShown = true
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user