mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
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.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user