Add bitcoin icon to bitcoin hashtags

Changelog-Added: Add bitcoin icon to bitcoin hashtags
This commit is contained in:
William Casarin
2023-04-06 16:04:16 -07:00
parent 2e640db012
commit e9be227009
8 changed files with 223 additions and 49 deletions

View File

@@ -65,9 +65,9 @@ struct TranslateView: View {
.padding([.top, .bottom], 10)
if self.size == .selected {
SelectableText(attributedString: artifacts.content, size: self.size)
SelectableText(attributedString: artifacts.content.attributed, size: self.size)
} else {
Text(artifacts.content)
artifacts.content.text
.font(eventviewsize_to_font(self.size))
}
}