mirror of
https://github.com/SimpleMobileTools/Simple-Thank-You.git
synced 2025-02-02 17:36:44 +01:00
updating Whats New
This commit is contained in:
parent
06407722d3
commit
f82c8b9452
@ -5,8 +5,10 @@ import android.os.Bundle
|
||||
import android.view.Menu
|
||||
import android.view.MenuItem
|
||||
import com.simplemobiletools.commons.activities.BaseSimpleActivity
|
||||
import com.simplemobiletools.commons.extensions.checkWhatsNew
|
||||
import com.simplemobiletools.commons.extensions.updateTextColors
|
||||
import com.simplemobiletools.commons.helpers.LICENSE_KOTLIN
|
||||
import com.simplemobiletools.commons.models.Release
|
||||
import com.simplemobiletools.thankyou.BuildConfig
|
||||
import com.simplemobiletools.thankyou.R
|
||||
import kotlinx.android.synthetic.main.activity_main.*
|
||||
@ -16,6 +18,7 @@ class MainActivity : BaseSimpleActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_main)
|
||||
checkWhatsNewDialog()
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
@ -44,4 +47,11 @@ class MainActivity : BaseSimpleActivity() {
|
||||
private fun launchAbout() {
|
||||
startAboutActivity(R.string.app_name, LICENSE_KOTLIN, BuildConfig.VERSION_NAME)
|
||||
}
|
||||
|
||||
private fun checkWhatsNewDialog() {
|
||||
arrayListOf<Release>().apply {
|
||||
add(Release(3, R.string.release_3))
|
||||
checkWhatsNew(this, BuildConfig.VERSION_CODE)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
7
app/src/main/res/values/donottranslate.xml
Normal file
7
app/src/main/res/values/donottranslate.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<!-- Release notes -->
|
||||
<string name="release_3">Added a toggle for hiding the launcher icon</string>
|
||||
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user