Skip to content

Commit d655aaf

Browse files
committed
add the local private database in release notes
1 parent 3af5540 commit d655aaf

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import android.view.MenuItem
1414
import com.simplemobiletools.commons.dialogs.FilePickerDialog
1515
import com.simplemobiletools.commons.extensions.*
1616
import com.simplemobiletools.commons.helpers.*
17+
import com.simplemobiletools.commons.models.Release
1718
import com.simplemobiletools.contacts.BuildConfig
1819
import com.simplemobiletools.contacts.R
1920
import com.simplemobiletools.contacts.adapters.ViewPagerAdapter
@@ -69,6 +70,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
6970
}
7071
}
7172
storeStateVariables()
73+
checkWhatsNewDialog()
7274
}
7375

7476
override fun onResume() {
@@ -384,4 +386,11 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
384386
override fun refreshFavorites() {
385387
favorites_fragment?.initContacts()
386388
}
389+
390+
private fun checkWhatsNewDialog() {
391+
arrayListOf<Release>().apply {
392+
add(Release(10, R.string.release_10))
393+
checkWhatsNew(this, BuildConfig.VERSION_CODE)
394+
}
395+
}
387396
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
4+
<!-- Release notes -->
5+
<string name="release_10">Allow storing contacts in a local database, hidden from other apps</string>
6+
7+
</resources>

0 commit comments

Comments
 (0)