mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-10 17:02:54 +01:00
Remove font parameter
This commit is contained in:
parent
ee4830022e
commit
e6cbdb5d23
@ -130,10 +130,9 @@ extension NSAttributedString {
|
||||
///
|
||||
/// - Parameters:
|
||||
/// - html: The HTML text.
|
||||
/// - font: The font to use. Defaults to the system font.
|
||||
/// - locale: The locale used for quotation marks when parsing `<q>` tags.
|
||||
convenience init(html: String, font: Font? = nil, locale: Locale = Locale.current) {
|
||||
let baseFont = font ?? Font.systemFont(ofSize: Font.systemFontSize)
|
||||
convenience init(html: String, locale: Locale = Locale.current) {
|
||||
let baseFont = Font.systemFont(ofSize: Font.systemFontSize)
|
||||
|
||||
var inTag: InTag = .none
|
||||
var tag = ""
|
||||
|
Loading…
Reference in New Issue
Block a user