From caba5c7cd72cc6938ee6a9e0124334950f054126 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 17 Aug 2022 08:00:51 -0500 Subject: [PATCH] renamed Signed-off-by: Matt Bruce --- VDS/Components/Label/Label.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } }