Skip to content

Commit

Permalink
try to fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Narayane committed Nov 16, 2022
1 parent e939e9c commit f5a9f49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/SwiftyMarkdown/SwiftyMarkdown+iOS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ extension SwiftyMarkdown {
} else {
font = UIFont.preferredFont(forTextStyle: textStyle)
}
if ignoreDynamicFontSize, let fontSize = fontSize {
font = font.withSize(fontSize)
}
if ignoreDynamicFontSize, let fontSize = fontSize {
font = font.withSize(fontSize)
}

if globalItalic, let italicDescriptor = font.fontDescriptor.withSymbolicTraits(.traitItalic) {
font = UIFont(descriptor: italicDescriptor, size: fontSize ?? 0)
Expand Down

0 comments on commit f5a9f49

Please sign in to comment.