add the local private database in release notes

This commit is contained in:
tibbi 2018-02-11 23:49:43 +01:00
parent 3af55404a2
commit d655aaff13
2 changed files with 16 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import android.view.MenuItem
import com.simplemobiletools.commons.dialogs.FilePickerDialog
import com.simplemobiletools.commons.extensions.*
import com.simplemobiletools.commons.helpers.*
import com.simplemobiletools.commons.models.Release
import com.simplemobiletools.contacts.BuildConfig
import com.simplemobiletools.contacts.R
import com.simplemobiletools.contacts.adapters.ViewPagerAdapter
@ -69,6 +70,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
}
}
storeStateVariables()
checkWhatsNewDialog()
}
override fun onResume() {
@ -384,4 +386,11 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
override fun refreshFavorites() {
favorites_fragment?.initContacts()
}
private fun checkWhatsNewDialog() {
arrayListOf<Release>().apply {
add(Release(10, R.string.release_10))
checkWhatsNew(this, BuildConfig.VERSION_CODE)
}
}
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Release notes -->
<string name="release_10">Allow storing contacts in a local database, hidden from other apps</string>
</resources>