Move string formatting to Tools.

Revert contacts tracking from MatrixKit.
Final tweaks before PR.
This commit is contained in:
Doug
2021-12-07 15:08:48 +00:00
parent d2785df5ba
commit 70e0eed440
23 changed files with 142 additions and 151 deletions

View File

@@ -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))
}