mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-25 20:57:04 +02:00
Removes unnecessary elvis operator
This commit is contained in:
@@ -586,7 +586,7 @@ fun UserProfileDropDownMenu(user: User, popupExpanded: Boolean, onDismiss: () ->
|
||||
expanded = popupExpanded,
|
||||
onDismissRequest = onDismiss
|
||||
) {
|
||||
DropdownMenuItem(onClick = { clipboardManager.setText(AnnotatedString(user.pubkey.toNpub() ?: "")); onDismiss() }) {
|
||||
DropdownMenuItem(onClick = { clipboardManager.setText(AnnotatedString(user.pubkey.toNpub())); onDismiss() }) {
|
||||
Text("Copy User ID")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user