Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui into feature/feed_cache
This commit is contained in:
commit
a913c744c3
@ -421,8 +421,8 @@ extension Label {
|
|||||||
|
|
||||||
/// Underlines the tappable region and stores the tap logic for interation.
|
/// Underlines the tappable region and stores the tap logic for interation.
|
||||||
private func setTextLinkState(range: NSRange, actionBlock: @escaping ActionBlock) {
|
private func setTextLinkState(range: NSRange, actionBlock: @escaping ActionBlock) {
|
||||||
guard range.length > 0 else { return }
|
guard let text, text.isValid(range: range) else { return }
|
||||||
|
|
||||||
var textLink = ActionLabelAttribute(location: range.location, length: range.length)
|
var textLink = ActionLabelAttribute(location: range.location, length: range.length)
|
||||||
textLink.subscriber = textLink
|
textLink.subscriber = textLink
|
||||||
.action
|
.action
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user