mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
747a96b7b3
Summary: `adjustsFontSizeToFit` prop is exposed on both platforms but is missing implementation on the new arch on Android. This Pr adds it. Fixes https://github.com/facebook/react-native/issues/43104 ## Changelog: [ANDROID] [FIXED] - Fixed `adjustsFontSizeToFit` not working on Android when using the new architecture Pull Request resolved: https://github.com/facebook/react-native/pull/44075 Test Plan: Tested on the RN Tester app using the `AdjustingFontSize` test: | Old architecture | New architecture | |------------------|------------------| | <video src="https://github.com/facebook/react-native/assets/21055725/9243317c-1917-4ddb-9b8a-e9e99638409d"> | <video src="https://github.com/facebook/react-native/assets/21055725/39a7a9f2-21e4-4ba7-9ceb-dfec4ca6f643"> | Reviewed By: javache Differential Revision: D56134348 Pulled By: cortinico fbshipit-source-id: b8339e3bec08e307abb0c6e4bd3f5fe143303014