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