mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
Move string formatting to Tools.
Revert contacts tracking from MatrixKit. Final tweaks before PR.
This commit is contained in:
@@ -43,7 +43,7 @@ struct AnalyticsPromptTermsText: View {
|
||||
let string = attributedString.string as NSString
|
||||
|
||||
attributedString.enumerateAttributes(in: range, options: []) { attributes, range, stop in
|
||||
let isLink = attributes.keys.contains(.analyticsPromptTermsTextLink)
|
||||
let isLink = attributes.keys.contains(.link)
|
||||
components.append(StringComponent(string: string.substring(with: range), isLink: isLink))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user