mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
draft a device message, the message is pretty neutral and should fit for ios/desktop as well
This commit is contained in:
@@ -813,6 +813,6 @@
|
||||
<string name="pref_reliable_service_explain">Requires a permanent notification</string>
|
||||
<string name="perm_enable_bg_reminder_title">Tap here to receive messages while Delta Chat is in the background.</string>
|
||||
<string name="perm_enable_bg_already_done">You already allowed Delta Chat to receive messages in the background.\n\nIf messages still do not arrive in background, please also check your system settings.</string>
|
||||
<string name="update_1_14_android">Some highlights of the 1.14 update:\n\n🧹 Swipe to reply: To answer a concrete message, just swipe it right (not here! you cannot answer here 😛) You\'ll see a quote above the compose line and can continue writing your message as usual.\n\n🔥 Disappearing messages - the time has come 😀. Any chat can now be configured to delete sent and received messages after some time. Just select \"Disappearing messages\" from the chat\'s menu (again: not here)\n\n👆 Chats open at first unseen message\n\n💾 Forward things to \"Saved messages\" directly and faster (this can be tried here: long-tap this message and then the arrow top-right)\n\n🎃 Finally, we\'ve again frightened many bugs! Lots were so scared, they won\'t come back.</string>
|
||||
<string name="update_1_20">Improved e-mail compatibility in version 1.20:\n\n📫 Read mailing lists\n📭 Read HTML-mails\n📪 Nice handling of support addresses\n📫 Many major and minor annoyances fixed\n\nRead our new blog post about these first steps towards mail and more:</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -89,10 +89,10 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
|
||||
protected void onCreate(Bundle icicle, boolean ready) {
|
||||
// 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.
|
||||
//DcContext dcContext = DcHelper.getContext(this);
|
||||
//DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT);
|
||||
//msg.setText(getString(R.string.update_1_14_android) + "\n\nhttps://delta.chat/en/2020-11-05-android-update");
|
||||
//dcContext.addDeviceMsg("update_1_14j_android", msg); // addDeviceMessage() makes sure, messages with the same id are not added twice
|
||||
DcContext dcContext = DcHelper.getContext(this);
|
||||
DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT);
|
||||
msg.setText(getString(R.string.update_1_20) + " https://delta.chat/en/2021-05-05-email-compat");
|
||||
dcContext.addDeviceMsg("update_1_20m_android", msg); // addDeviceMessage() makes sure, messages with the same id are not added twice
|
||||
|
||||
// create view
|
||||
setContentView(R.layout.conversation_list_activity);
|
||||
|
||||
Reference in New Issue
Block a user