fix(kinds): key tag formatting

This commit is contained in:
xeruf 2024-12-05 14:34:27 +01:00
parent df598efdc3
commit db11b54220
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ pub fn format_tag_basic(tag: &Tag) -> String {
public_key, public_key,
alias, alias,
.. ..
}) => format!("Key{}: {:.8}", public_key, alias.as_ref().map(|s| format!(" {s}")).unwrap_or_default()), }) => format!("Key{}: {:.8}", alias.as_ref().map(|s| format!(" {s}")).unwrap_or_default(), public_key),
Some(TagStandard::Hashtag(content)) => Some(TagStandard::Hashtag(content)) =>
format!("#{content}"), format!("#{content}"),
_ => tag.as_slice().join(" ") _ => tag.as_slice().join(" ")