From 8b7d0f6837ac1065a614390dbd74bc3ba9ef3e6d Mon Sep 17 00:00:00 2001 From: Paige Sun Date: Thu, 14 Apr 2022 10:34:55 -0700 Subject: [PATCH] (Easy) Fix SVCs for Android, by removing iOS-only accessibilityLanguage prop Summary: Changelog: [Internal][Fixed] Fix StaticViewConfigs for Android, by removing iOS-only accessibilityLanguage prop The accessibilityLanguage was a prop added to RCTViewManager, that is iOS-only, so it shouldn't exist in the SVCs for Android. Reviewed By: RSNara Differential Revision: D35630945 fbshipit-source-id: 7ed7f2619f73bb88babfbb207793d5415addaee6 --- Libraries/NativeComponent/PlatformBaseViewConfig.js | 1 - 1 file changed, 1 deletion(-) diff --git a/Libraries/NativeComponent/PlatformBaseViewConfig.js b/Libraries/NativeComponent/PlatformBaseViewConfig.js index 8eb37dee2bb..dd499bdd87e 100644 --- a/Libraries/NativeComponent/PlatformBaseViewConfig.js +++ b/Libraries/NativeComponent/PlatformBaseViewConfig.js @@ -185,7 +185,6 @@ const PlatformBaseViewConfig: PartialViewConfigWithoutName = accessibilityLabelledBy: true, accessibilityLabel: true, accessibilityHint: true, - accessibilityLanguage: true, accessibilityRole: true, accessibilityState: true, accessibilityActions: true,