From a8115e068e54426b0dfa1bb32e4e055ba993d5d9 Mon Sep 17 00:00:00 2001 From: Krishna Kishore Bandaru Date: Mon, 24 Jul 2023 20:15:01 +0530 Subject: [PATCH] added accessibilityElements for stack --- MVMCoreUI/Atomic/Organisms/Stack.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MVMCoreUI/Atomic/Organisms/Stack.swift b/MVMCoreUI/Atomic/Organisms/Stack.swift index f79ef8f3..1f35e34d 100644 --- a/MVMCoreUI/Atomic/Organisms/Stack.swift +++ b/MVMCoreUI/Atomic/Organisms/Stack.swift @@ -48,13 +48,13 @@ open class Stack: Container where T: (StackModelProtocol & MoleculeModelProto } isAccessibilityElement = false - /* var accessibleViews: [Any] = [] + var accessibleViews: [Any] = [] for (index, view) in stackItems.enumerated() where !stackModel.molecules[index].gone { accessibleViews.append(view) } - accessibilityElements = accessibleViews */ + accessibilityElements = accessibleViews } /// Removes all stack items views from the view.