mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Remove link styling from inline post previews
The links are not tappable in this context. Also, remove default text size so that displaying views can control that. Contributes to #399 [BUG] Multiple interactions do not collapse into a single notification
This commit is contained in:
parent
a24b2a3240
commit
d50032b8cc
@ -637,7 +637,12 @@ func boldedNameStringComponent(_ name: String) -> AttributedString {
|
||||
return nameComponent
|
||||
}
|
||||
|
||||
let metaTextForHtmlToAttributedStringConversion = MetaText()
|
||||
let metaTextForHtmlToAttributedStringConversion = {
|
||||
let meta = MetaText()
|
||||
meta.textAttributes = [:]
|
||||
meta.linkAttributes = [:]
|
||||
return meta
|
||||
}()
|
||||
func attributedString(
|
||||
fromHtml html: String, emojis: [MastodonContent.Shortcode: String]
|
||||
) -> AttributedString {
|
||||
|
Loading…
x
Reference in New Issue
Block a user