mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Set HTML formatter as static
This commit is contained in:
@@ -19,11 +19,11 @@ import UIKit
|
||||
|
||||
@available(iOS 14.0, *)
|
||||
struct AnalyticsPromptStrings: AnalyticsPromptStringsProtocol {
|
||||
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))
|
||||
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