diff --git a/docs/release-checklist.md b/docs/release-checklist.md index c7fe243e3..7bac42ac9 100644 --- a/docs/release-checklist.md +++ b/docs/release-checklist.md @@ -14,7 +14,8 @@ this will take some time - meanwhile we're doing some housekeeping: $ ./tools/tx-pull-translations.sh $ cd ../deltachat-pages; ./tools/create-local-help.py; cd ../deltachat-android -4. update CHANGELOG.md +4. add a device message to ConversationListActivity::onCreate() + and update CHANGELOG.md (the core-changelog at https://github.com/deltachat/deltachat-core-rust/blob/master/CHANGELOG.md and the "N commits to master since last release" on diff --git a/res/values/strings.xml b/res/values/strings.xml index ff949eb39..afe46128e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -698,5 +698,6 @@ + New Delta Chat 1.10 features at a glance: faster, multi-account, blur images, new emojis, reworked notifications, better error-reporting but most importantly:\n\nClick an avatar in profile and enlarge it 🚀 diff --git a/src/org/thoughtcrime/securesms/ConversationListActivity.java b/src/org/thoughtcrime/securesms/ConversationListActivity.java index 9983def02..4f8f98743 100644 --- a/src/org/thoughtcrime/securesms/ConversationListActivity.java +++ b/src/org/thoughtcrime/securesms/ConversationListActivity.java @@ -89,6 +89,13 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit // add welcome message dcContext.updateDeviceChats(); + // update messages - for new messages, do not reuse or modify strings but create new ones. + // it is not needed to keep all past update messages, however, when deleted, also the strings should be deleted. + DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT); + msg.setText(getString(R.string.update_1_10_android)); + dcContext.addDeviceMsg("update_1_10b_android", msg); // addDeviceMessage() makes sure, messages with the same id are not added twice + + // create view setContentView(R.layout.conversation_list_activity); Toolbar toolbar = findViewById(R.id.toolbar);