From bf4c28019b8f88359528f04efd32d8f9c1408b88 Mon Sep 17 00:00:00 2001 From: Sumanth Nadigadda Date: Thu, 13 Oct 2022 21:17:33 +0530 Subject: [PATCH 1/2] Fix for CXTDT-331565, appending link disabled status to the accessibility text --- .../ListRightVariableTextLinkAllTextAndLinks.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/RightVariable/ListRightVariableTextLinkAllTextAndLinks.swift b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/RightVariable/ListRightVariableTextLinkAllTextAndLinks.swift index 059a637f..e47cae46 100644 --- a/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/RightVariable/ListRightVariableTextLinkAllTextAndLinks.swift +++ b/MVMCoreUI/Atomic/Molecules/DesignedComponents/List/RightVariable/ListRightVariableTextLinkAllTextAndLinks.swift @@ -71,10 +71,14 @@ func getAccessibilityMessage() -> String? { - guard let linkText = link.titleLabel?.text else { + guard var linkText = link.titleLabel?.text else { return eyebrowHeadlineBodyLink.getAccessibilityMessage() } + if !link.isEnabled, let accDisabled = MVMCoreUIUtility.hardcodedString(withKey:"AccDisabled") { + linkText = linkText + ", " + accDisabled + } + guard let label = eyebrowHeadlineBodyLink.getAccessibilityMessage() else { return linkText } From f9b47922db319b13be6b049339739c5424638d99 Mon Sep 17 00:00:00 2001 From: Scott Pfeil Date: Thu, 20 Oct 2022 16:20:16 -0400 Subject: [PATCH 2/2] always embed swift to no --- MVMCoreUI.xcodeproj/project.pbxproj | 2 -- 1 file changed, 2 deletions(-) diff --git a/MVMCoreUI.xcodeproj/project.pbxproj b/MVMCoreUI.xcodeproj/project.pbxproj index 9f29106c..eb5327be 100644 --- a/MVMCoreUI.xcodeproj/project.pbxproj +++ b/MVMCoreUI.xcodeproj/project.pbxproj @@ -3225,7 +3225,6 @@ D29DF0D221E404D4003B2FB9 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ALWAYS_SEARCH_USER_PATHS = NO; BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; @@ -3293,7 +3292,6 @@ D29DF0D321E404D4003B2FB9 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ALWAYS_SEARCH_USER_PATHS = NO; BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;