mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
MESSENGER-4772 change font size
This commit is contained in:
@@ -49,7 +49,7 @@ struct UIMarkDownWrapper: UIViewRepresentable {
|
||||
func updateUIView(_ uiView: UILabel, context: Context) {
|
||||
let down = Down(markdownString: markDownString)
|
||||
|
||||
guard let attributedString = try? down.toAttributedString() else { return }
|
||||
guard let attributedString = try? down.toAttributedString(stylesheet: "* {font-family: sans-serif; font-size: 16pt; } ") else { return }
|
||||
let mutableString = NSMutableAttributedString(attributedString: attributedString)
|
||||
mutableString.addAttributes([.foregroundColor: ThemeService.shared().theme.textPrimaryColor], range: NSRange(location: 0, length: attributedString.length))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user