Fix #95
This commit is contained in:
parent
9c532d9448
commit
22c9d51941
|
@ -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 New Issue