Skip to content

Commit

Permalink
Adds nostr: prefix to channel id share.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona committed May 22, 2023
1 parent 2eb0096 commit 330f350
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -349,7 +349,7 @@ private fun NoteCopyButton(
expanded = popupExpanded,
onDismissRequest = { popupExpanded = false }
) {
DropdownMenuItem(onClick = { clipboardManager.setText(AnnotatedString(note.idNote())); popupExpanded = false }) {
DropdownMenuItem(onClick = { clipboardManager.setText(AnnotatedString("nostr:" + note.idNote())); popupExpanded = false }) {
Text(stringResource(R.string.copy_channel_id_note_to_the_clipboard))
}
}
Expand Down

0 comments on commit 330f350

Please sign in to comment.