mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-06-08 00:06:11 +01:00
Refactor "unnamed" group logic
// FREEBIE
This commit is contained in:
@@ -71,11 +71,7 @@ public class ConversationTitleView extends LinearLayout {
|
||||
this.subtitle.setVisibility(View.VISIBLE);
|
||||
}
|
||||
} else {
|
||||
String groupName = (!TextUtils.isEmpty(recipient.getName())) ?
|
||||
recipient.getName() :
|
||||
getContext().getString(R.string.ConversationActivity_unnamed_group);
|
||||
|
||||
this.title.setText(groupName);
|
||||
this.title.setText(recipient.getName());
|
||||
this.subtitle.setText(null);
|
||||
this.subtitle.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user