From e6655fa21d58dce4638c51167e2bb63b42302249 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Fri, 23 May 2025 12:31:25 +0200 Subject: [PATCH] point out that app drafts need to be sent we got some feedback, that ppl were wondering if others can use an app once drafted and opend. the old title "Tap to open" might even underline that impression. this PR changes the title to "Tap 'Send' to share" (we need to be super-short here, "Tap 'Send' to let others use the app" is already too much :) the sending out of apps is the much more important step than to open, play a game and then wondering ... ppl will figure out the latter themselves, wondering if one can configure eg. a poll before sending - and if not, then it's that. --- .../org/thoughtcrime/securesms/mms/AttachmentManager.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/mms/AttachmentManager.java b/src/main/java/org/thoughtcrime/securesms/mms/AttachmentManager.java index d00fe7e9a..8e7a592c8 100644 --- a/src/main/java/org/thoughtcrime/securesms/mms/AttachmentManager.java +++ b/src/main/java/org/thoughtcrime/securesms/mms/AttachmentManager.java @@ -312,7 +312,7 @@ public class AttachmentManager { } else if (slide.hasDocument()) { if (slide.isWebxdcDocument()) { DcMsg instance = msg != null ? msg : DcHelper.getContext(context).getMsg(slide.dcMsgId); - webxdcView.setWebxdc(instance, context.getString(R.string.videochat_tap_to_open)); + webxdcView.setWebxdc(instance, context.getString(R.string.webxdc_draft_hint)); webxdcView.setWebxdcClickListener((v, s) -> { WebxdcActivity.openWebxdcActivity(context, instance); }); @@ -409,7 +409,7 @@ public class AttachmentManager { if (slide.isPresent()) { if (slide.get().isWebxdcDocument()) { if (webxdcView != null) { - webxdcView.setWebxdc(DcHelper.getContext(context).getMsg(slide.get().dcMsgId), context.getString(R.string.videochat_tap_to_open)); + webxdcView.setWebxdc(DcHelper.getContext(context).getMsg(slide.get().dcMsgId), context.getString(R.string.webxdc_draft_hint)); } } } diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 6f3294e49..c4de54441 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -195,6 +195,7 @@ Apps App Picker URL If set, the URL will be used as the App Picker instead of the default one + Tap \"Send\" to share Home Games Tools