mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 06:08:33 +00:00
Use recipient display name in recipient bottom sheet.
This commit is contained in:
parent
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user