|
|
@ -28,7 +28,7 @@ public class UserDetailsBottomSheet : BottomSheetDialogFragment() {
|
|
|
|
profilePictureView.glide = GlideApp.with(this)
|
|
|
|
profilePictureView.glide = GlideApp.with(this)
|
|
|
|
profilePictureView.isLarge = true
|
|
|
|
profilePictureView.isLarge = true
|
|
|
|
profilePictureView.update()
|
|
|
|
profilePictureView.update()
|
|
|
|
nameTextView.text = DatabaseFactory.getLokiUserDatabase(requireContext()).getDisplayName(publicKey) ?: publicKey
|
|
|
|
nameTextView.text = DatabaseFactory.getLokiUserDatabase(requireContext()).getDisplayName(publicKey) ?: "Anonymous"
|
|
|
|
publicKeyTextView.text = publicKey
|
|
|
|
publicKeyTextView.text = publicKey
|
|
|
|
copyButton.setOnClickListener {
|
|
|
|
copyButton.setOnClickListener {
|
|
|
|
val clipboard = requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
|
|
|
val clipboard = requireContext().getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
|
|
|
|