kopia lustrzana https://github.com/ryukoposting/Signal-Android
Use recipient display name in recipient bottom sheet.
rodzic
93c390c4fc
commit
b3a59c3946
|
@ -119,7 +119,7 @@ public final class RecipientBottomSheetDialogFragment extends BottomSheetDialogF
|
|||
viewModel.getRecipient().observe(getViewLifecycleOwner(), recipient -> {
|
||||
avatar.setRecipient(recipient);
|
||||
|
||||
String name = recipient.getProfileName().toString();
|
||||
String name = recipient.getDisplayName(requireContext());
|
||||
fullName.setText(name);
|
||||
fullName.setVisibility(TextUtils.isEmpty(name) ? View.GONE : View.VISIBLE);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue