diff --git a/VDS/Components/Label/Label.swift b/VDS/Components/Label/Label.swift index cb08b7a9..493e3700 100644 --- a/VDS/Components/Label/Label.swift +++ b/VDS/Components/Label/Label.swift @@ -213,16 +213,16 @@ open class LabelBase: UILabel, ModelHandlerable, ViewProt private struct LabelAction { var range: NSRange - var actionBlock: PassthroughSubject + var action: PassthroughSubject var accessibilityId: Int = 0 func performAction() { - actionBlock.send() + action.send() } - init(range: NSRange, actionBlock: PassthroughSubject, accessibilityID: Int = 0) { + init(range: NSRange, action: PassthroughSubject, accessibilityID: Int = 0) { self.range = range - self.actionBlock = actionBlock + self.action = action self.accessibilityId = accessibilityID } }