From 99d6878ed92cb8b88199a5b3b0415cd8dd8d4903 Mon Sep 17 00:00:00 2001 From: vasavk Date: Fri, 5 Apr 2024 21:14:23 +0530 Subject: [PATCH] Digital ACT-191 ONEAPP-7135 story: removed unnecessary code --- VDS/Components/DropdownSelect/DropdownSelect.swift | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/VDS/Components/DropdownSelect/DropdownSelect.swift b/VDS/Components/DropdownSelect/DropdownSelect.swift index 76518c93..ec179700 100644 --- a/VDS/Components/DropdownSelect/DropdownSelect.swift +++ b/VDS/Components/DropdownSelect/DropdownSelect.swift @@ -281,17 +281,7 @@ open class DropdownSelect: Control { selectedOptionLabel.surface = surface backgroundColor = surface.color } - - /// Used to update any Accessibility properties. - open override func updateAccessibility() { - super.updateAccessibility() - if error { - setAccessibilityLabel(for: [eyebrowLabel, selectedOptionLabel, errorLabel, helperLabel]) - } else { - setAccessibilityLabel(for: [eyebrowLabel, selectedOptionLabel, helperLabel]) - } - } - + /// Resets to default settings. open override func reset() { super.reset()