test subtitle for contact-requests

This commit is contained in:
B. Petersen
2019-01-03 01:19:56 +01:00
parent 855e3c5c3e
commit 7b09020afd
@@ -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);
}
}