renamed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
85f6722d4c
commit
caba5c7cd7
@ -213,16 +213,16 @@ open class LabelBase<ModelType: LabelModel>: UILabel, ModelHandlerable, ViewProt
|
|||||||
|
|
||||||
private struct LabelAction {
|
private struct LabelAction {
|
||||||
var range: NSRange
|
var range: NSRange
|
||||||
var actionBlock: PassthroughSubject<Void, Never>
|
var action: PassthroughSubject<Void, Never>
|
||||||
var accessibilityId: Int = 0
|
var accessibilityId: Int = 0
|
||||||
|
|
||||||
func performAction() {
|
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.range = range
|
||||||
self.actionBlock = actionBlock
|
self.action = action
|
||||||
self.accessibilityId = accessibilityID
|
self.accessibilityId = accessibilityID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user