Skip to content

Commit 89b20bc

Browse files
committed
show the Upgraded From Free more often
1 parent 85fa2fc commit 89b20bc

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ android {
6363
}
6464

6565
dependencies {
66-
implementation 'com.github.SimpleMobileTools:Simple-Commons:1f50049630'
66+
implementation 'com.github.SimpleMobileTools:Simple-Commons:2794ea914a'
6767
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
6868
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
6969
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import com.simplemobiletools.commons.extensions.*
2121
import com.simplemobiletools.commons.helpers.*
2222
import com.simplemobiletools.commons.models.FAQItem
2323
import com.simplemobiletools.commons.models.Release
24-
import com.simplemobiletools.commons.models.contacts.*
24+
import com.simplemobiletools.commons.models.contacts.Contact
2525
import com.simplemobiletools.contacts.pro.BuildConfig
2626
import com.simplemobiletools.contacts.pro.R
2727
import com.simplemobiletools.contacts.pro.adapters.ViewPagerAdapter
@@ -150,10 +150,9 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
150150
isFirstResume = false
151151
checkShortcuts()
152152

153-
if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.contacts")) {
153+
if (isPackageInstalled("com.simplemobiletools.contacts")) {
154154
val dialogText = getString(R.string.upgraded_to_pro_contacts, getString(R.string.phone_storage_hidden))
155155
ConfirmationDialog(this, dialogText, 0, R.string.ok, 0, false) {}
156-
config.wasUpgradedFromFreeShown = true
157156
}
158157
}
159158

0 commit comments

Comments
 (0)