mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Improve HTML formatter
This commit is contained in:
@@ -15,10 +15,15 @@
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
struct AnalyticsPromptStrings: AnalyticsPromptStringsProtocol {
|
||||
let point1 = HTMLFormatter().formatHTML(VectorL10n.analyticsPromptPoint1, withAllowedTags: ["b", "p"], fontSize: UIFont.systemFontSize)
|
||||
let point2 = HTMLFormatter().formatHTML(VectorL10n.analyticsPromptPoint2, withAllowedTags: ["b", "p"], fontSize: UIFont.systemFontSize)
|
||||
let point1 = HTMLFormatter().formatHTML(VectorL10n.analyticsPromptPoint1,
|
||||
withAllowedTags: ["b", "p"],
|
||||
font: UIFont.systemFont(ofSize: UIFont.systemFontSize))
|
||||
let point2 = HTMLFormatter().formatHTML(VectorL10n.analyticsPromptPoint2,
|
||||
withAllowedTags: ["b", "p"],
|
||||
font: UIFont.systemFont(ofSize: UIFont.systemFontSize))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user