mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-27 08:57:42 +01:00
show the changes in Whats New
This commit is contained in:
parent
93fd90c6f4
commit
a993ccf004
@ -17,6 +17,7 @@ import com.simplemobiletools.commons.dialogs.FilePickerDialog
|
||||
import com.simplemobiletools.commons.extensions.*
|
||||
import com.simplemobiletools.commons.helpers.*
|
||||
import com.simplemobiletools.commons.models.FAQItem
|
||||
import com.simplemobiletools.commons.models.Release
|
||||
import com.simplemobiletools.smsmessenger.BuildConfig
|
||||
import com.simplemobiletools.smsmessenger.R
|
||||
import com.simplemobiletools.smsmessenger.adapters.ConversationsAdapter
|
||||
@ -184,6 +185,7 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
private fun initMessenger() {
|
||||
checkWhatsNewDialog()
|
||||
storeStateVariables()
|
||||
getCachedConversations()
|
||||
|
||||
@ -451,4 +453,11 @@ class MainActivity : SimpleActivity() {
|
||||
fun refreshMessages(event: Events.RefreshMessages) {
|
||||
initMessenger()
|
||||
}
|
||||
|
||||
private fun checkWhatsNewDialog() {
|
||||
arrayListOf<Release>().apply {
|
||||
add(Release(47, R.string.release_47))
|
||||
checkWhatsNew(this, BuildConfig.VERSION_CODE)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,4 +9,9 @@
|
||||
<string name="mms_file_size_limit_1mb">1MB</string>
|
||||
<string name="mms_file_size_limit_2mb">2MB</string>
|
||||
|
||||
<string name="release_47">
|
||||
Disabled delivery reports by default\n
|
||||
Avoid sending long messages as MMS
|
||||
</string>
|
||||
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user