From c344b18326bbb2b567a6d4ea644e7a329da40c6e Mon Sep 17 00:00:00 2001 From: adb Date: Sat, 19 Jul 2025 12:47:26 +0000 Subject: [PATCH] add device message (#3820) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add device message * apply tweaks of @hpk42 and @hocuri * change two emojis, donate as discussed and šŸ”² instead of ⌘ which is known as a keyboard shortcut symbol, at least on mac, and adds confusion --------- Co-authored-by: B. Petersen --- .../org/thoughtcrime/securesms/ConversationListActivity.java | 4 ++-- src/main/res/values/strings.xml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/thoughtcrime/securesms/ConversationListActivity.java b/src/main/java/org/thoughtcrime/securesms/ConversationListActivity.java index 300cb62de..056dec10f 100644 --- a/src/main/java/org/thoughtcrime/securesms/ConversationListActivity.java +++ b/src/main/java/org/thoughtcrime/securesms/ConversationListActivity.java @@ -109,7 +109,7 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit // it is not needed to keep all past update messages, however, when deleted, also the strings should be deleted. try { DcContext dcContext = DcHelper.getContext(this); - final String deviceMsgLabel = "update_1_50_0_android"; + final String deviceMsgLabel = "update_2_0_0_android-h"; if (!dcContext.wasDeviceMsgEverAdded(deviceMsgLabel)) { DcMsg msg = null; if (!getIntent().getBooleanExtra(FROM_WELCOME, false)) { @@ -120,7 +120,7 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit // Util.copy(inputStream, new FileOutputStream(outputFile)); // msg.setFile(outputFile, "image/jpeg"); - msg.setText(getString(R.string.update_1_50_android, "https://get.delta.chat/#changelogs")); + msg.setText(getString(R.string.update_2_0, "https://delta.chat/donate")); } dcContext.addDeviceMsg(deviceMsgLabel, msg); diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 3d55e5849..1c55836f3 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -1221,6 +1221,7 @@ 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. + What\'s new?\n\nšŸ’Æ End-to-end encryption is reliable and forever now. Padlocks šŸ”’ are gone!\n\nāœ‰ļø Classic email without end-to-end encryption is marked with a letter symbol\n\n😻 New enhanced profile screen for all your contacts\n\nšŸ”² New button for quick access to apps used in a chat\n\nā¤ļø Please donate to help us remain independent and continue to bring improvements: %1$s What\'s new?\n\nā¤ļøā€šŸ”„ New emojis picker with more emoji\n\nšŸŽ® Enhanced in-chat apps: Get notifications and open supporting apps in context, i.e. open an added calendar entry directly\n\nšŸ‘ Get notified about reactions to your messages\n\n... šŸ› ļø FIXES and EVEN MORE at %1$s ā„¹ļø \"Switch Profile\" option moved: Tap your profile image in the upper corner of the main screen to add or switch profiles šŸ’”