mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-22 05:48:08 +00:00
Fix #95
This commit is contained in:
parent
9c532d9448
commit
22c9d51941
1 changed files with 2 additions and 1 deletions
|
@ -197,7 +197,8 @@ public class StatusEditorViewModel: ObservableObject {
|
|||
}
|
||||
|
||||
private func processText() {
|
||||
statusText.addAttributes([.foregroundColor: UIColor(Color.label)],
|
||||
statusText.addAttributes([.foregroundColor: UIColor(Color.label),
|
||||
.underlineColor: .clear],
|
||||
range: NSMakeRange(0, statusText.string.utf16.count))
|
||||
let hashtagPattern = "(#+[a-zA-Z0-9(_)]{1,})"
|
||||
let mentionPattern = "(@+[a-zA-Z0-9(_).-]{1,})"
|
||||
|
|
Loading…
Reference in a new issue