stop adding 1.38 device message, remove 1.36 device message strings

This commit is contained in:
B. Petersen
2023-10-05 21:07:41 +02:00
committed by bjoern
parent 3da91403d1
commit b73c33ad20
2 changed files with 4 additions and 8 deletions
-4
View File
@@ -1072,10 +1072,6 @@
<!-- device messages for updates -->
<!-- placeholder will be replaced by the URL https://get.delta.chat/#changelogs -->
<string name="update_1_36_android">1.36 Highlights\n\n💻📱 Use Delta Chat on all your devices easily - just follow three simple steps at \"Settings / Add Second Device\" (experimental)\n\n🖼🔍 Ever searching for an image and could not remember the chat? \"All Media\" from the main menu is yours!\n\nWhat else? Notifications for all accounts, clear chat, and more at %1$s</string>
<!-- placeholder will be replaced by the URL https://delta.chat/en/2023-03-27-third-independent-security-audit -->
<string name="update_1_36_audit">We don\'t talk much about security here, but rest assured, we care: See %1$s for recent good news 👌</string>
<!-- placeholder will be replaced by the URL https://get.delta.chat/#changelogs -->
<string name="update_1_38_android">1.38 is out:\n\n📎 Removed upper size limit of attachments\n\n🗜️ PNG images (screenshots!) are now compressed as well\n\n⌨️ For Devs: Better apps for chats with sendToChat() and importFiles() (What is Webxdc? → https://webxdc.org)\n\n… and more at %1$s</string>
<!-- placeholder will be replaced by the URL https://get.delta.chat/#changelogs -->
<string name="update_1_38_ios">1.38 is out:\n\n🖼🔍 Ever searching for an image and could not remember the chat? Then the \"All Media\" button is yours!\n\n🧹 \"Clear Chat\" from the profiles\n\n📎 Removed upper size limit of attachments\n\n🗜️ PNG images (screenshots!) are now compressed as well\n\n… and more at %1$s</string>
@@ -97,10 +97,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_38_android, "https://get.delta.chat/#changelogs"));
dcContext.addDeviceMsg("update_1_38c_android", msg);
//DcContext dcContext = DcHelper.getContext(this);
//DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT);
//msg.setText(getString(R.string.update_1_38_android, "https://get.delta.chat/#changelogs"));
//dcContext.addDeviceMsg("update_1_38c_android", msg);
// create view
setContentView(R.layout.conversation_list_activity);