From 7b09020afd6442cf0063b84d42ffe32b5a2f9266 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Thu, 3 Jan 2019 01:19:56 +0100 Subject: [PATCH] test subtitle for contact-requests --- .../thoughtcrime/securesms/ConversationTitleView.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/ConversationTitleView.java b/src/org/thoughtcrime/securesms/ConversationTitleView.java index 0b95c1f92..c96fc012f 100644 --- a/src/org/thoughtcrime/securesms/ConversationTitleView.java +++ b/src/org/thoughtcrime/securesms/ConversationTitleView.java @@ -100,7 +100,14 @@ public class ConversationTitleView extends RelativeLayout { private void setRecipientTitle(DcChat dcChat) { this.title.setText(dcChat.getName()); - this.subtitle.setText(dcChat.getSubtitle()); + + if(dcChat.getId()==DcChat.DC_CHAT_ID_DEADDROP) { + this.subtitle.setText("Press message to start chatting"/*needs translation*/); + } + else { + this.subtitle.setText(dcChat.getSubtitle()); + } + this.subtitle.setVisibility(View.VISIBLE); } }