react-native-macos/ReactCommon
Samuel Susla 5c202cafd6 Simplify content mode conversion
Summary:
Changelog: [internal]

To avoid typecasting, let's return `UIViewContentMode`. This way we get rid of a condition to check if contentMode is repeat.

Reviewed By: JoshuaGross

Differential Revision: D26252431

fbshipit-source-id: 94ef7af1a76f13c91b696d57ceecc2453bbc9d8d
2021-02-09 04:03:48 -08:00
..
better Migrate away from "@fbsource//tools/build_defs/apple:flag_defs.bzl" 2021-02-08 16:04:51 -08:00
callinvoker remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
cxxreact Delete iOS10/tvOS10 support from React Native Libraries 2021-01-11 16:46:16 -08:00
hermes Remove "use strict" directive from ES Modules 2021-02-02 11:12:56 -08:00
jsengineinstance The life-changing magic of clang-tidying up 2020-02-04 11:09:30 -08:00
jsi Change JSI compiler options to be private 2021-02-03 10:42:59 -08:00
jsiexecutor Delete iOS10/tvOS10 support from React Native Libraries 2021-01-11 16:46:16 -08:00
jsinspector Delete iOS10/tvOS10 support from React Native Libraries 2021-01-11 16:46:16 -08:00
libraries/fbcore/src/test/java/com/facebook/powermock Explicitly set autoglob (long tail) 2020-12-17 19:35:29 -08:00
microprofiler use xplat BUCK attribution 2020-05-15 21:55:52 -07:00
react Simplify content mode conversion 2021-02-09 04:03:48 -08:00
reactperflogger Delete iOS10/tvOS10 support from React Native Libraries 2021-01-11 16:46:16 -08:00
runtimeexecutor Migrate away from "@fbsource//tools/build_defs/apple:flag_defs.bzl" 2021-02-08 16:04:51 -08:00
yoga Delete iOS10/tvOS10 support from React Native Libraries 2021-01-11 16:46:16 -08:00
React-Fabric.podspec Delete iOS10/tvOS10 support from React Native Libraries 2021-01-11 16:46:16 -08:00
ReactCommon.podspec Delete iOS10/tvOS10 support from React Native Libraries 2021-01-11 16:46:16 -08:00
common.mk More robust hermes-engine lookup logic in makefiles (#26820) 2019-10-14 19:21:43 -07:00