Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-08-17 08:00:51 -05:00
parent 85f6722d4c
commit caba5c7cd7

View File

@ -213,16 +213,16 @@ open class LabelBase<ModelType: LabelModel>: UILabel, ModelHandlerable, ViewProt
private struct LabelAction {
var range: NSRange
var actionBlock: PassthroughSubject<Void, Never>
var action: PassthroughSubject<Void, Never>
var accessibilityId: Int = 0
func performAction() {
actionBlock.send()
action.send()
}
init(range: NSRange, actionBlock: PassthroughSubject<Void, Never>, accessibilityID: Int = 0) {
init(range: NSRange, action: PassthroughSubject<Void, Never>, accessibilityID: Int = 0) {
self.range = range
self.actionBlock = actionBlock
self.action = action
self.accessibilityId = accessibilityID
}
}