Skip to content

Commit a94aaf4

Browse files
committed
lets always show the Upgraded From Free dialog
1 parent 4d87753 commit a94aaf4

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ android {
6363
}
6464

6565
dependencies {
66-
implementation 'com.github.SimpleMobileTools:Simple-Commons:58574dd952'
66+
implementation 'com.github.SimpleMobileTools:Simple-Commons:2794ea914a'
6767
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
6868
implementation 'androidx.documentfile:documentfile:1.0.1'
6969

70-
kapt 'androidx.room:room-compiler:2.4.3'
71-
implementation 'androidx.room:room-runtime:2.4.3'
72-
annotationProcessor 'androidx.room:room-compiler:2.4.3'
70+
kapt 'androidx.room:room-compiler:2.5.0'
71+
implementation 'androidx.room:room-runtime:2.5.0'
72+
annotationProcessor 'androidx.room:room-compiler:2.5.0'
7373
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ class MainActivity : SimpleActivity() {
115115
checkAppOnSDCard()
116116
setupSearchButtons()
117117

118-
if (!config.wasUpgradedFromFreeShown && isPackageInstalled("com.simplemobiletools.notes")) {
118+
if (isPackageInstalled("com.simplemobiletools.notes")) {
119119
val dialogText = getString(R.string.upgraded_to_pro_notes)
120120
ConfirmationDialog(this, dialogText, 0, R.string.ok, 0, false) {}
121-
config.wasUpgradedFromFreeShown = true
122121
}
123122
}
124123

0 commit comments

Comments
 (0)