Merge branch 'mbruce/bugfix' into 'develop'

removed logic since for tooltipattribute this will never pass.

See merge request BPHV_MIPS/vds_ios!197
This commit is contained in:
Bruce, Matt R 2024-04-04 20:23:30 +00:00
commit 7a63bfe344
2 changed files with 0 additions and 3 deletions

View File

@ -71,7 +71,6 @@ public extension NSAttributedString {
extension NSMutableAttributedString {
public func apply(attribute: any LabelAttributeModel) {
guard isValid(range: attribute.range) else { return }
attribute.setAttribute(on: self)
}

View File

@ -24,8 +24,6 @@ public class TooltipLabelAttribute: ActionLabelAttributeModel, TooltipLaunchable
public var presenter: UIView?
public func setAttribute(on attributedString: NSMutableAttributedString) {
guard isValidRange(on: attributedString) else { return }
//update the location
location = attributedString.string.count - 1