Merge branch 'develop' into feature/heart
This commit is contained in:
commit
ccc7f55bdd
@ -257,7 +257,7 @@ public typealias ActionBlock = () -> ()
|
||||
* Only other reference found of issue: https://www.thetopsites.net/article/58142205.shtml
|
||||
*/
|
||||
if #available(iOS 13, *) {
|
||||
if let attributedText = attributedText, let text = text {
|
||||
if let attributedText = attributedText, let text = text, !text.isEmpty {
|
||||
let attributedString = NSMutableAttributedString(string: text)
|
||||
let range = NSRange(location: 0, length: text.count)
|
||||
for attribute in attributedText.attributes(at: 0, effectiveRange: nil) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user