enostr: rename to_bech to npub
a bit more clear as to what this is
This commit is contained in:
@@ -45,7 +45,7 @@ impl NoteContextSelection {
|
||||
ui.ctx().copy_text(note.content().to_string());
|
||||
}
|
||||
NoteContextSelection::CopyPubkey => {
|
||||
if let Some(bech) = Pubkey::new(*note.pubkey()).to_bech() {
|
||||
if let Some(bech) = Pubkey::new(*note.pubkey()).npub() {
|
||||
ui.ctx().copy_text(bech);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user