Cleanup public modifiers inside LayoutDirectionUtil (#49172)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/49172

Those public keywords are unnecessary, let's remove them.

Changelog:
[Internal] [Changed] -

Reviewed By: NickGerleman

Differential Revision: D69120493

fbshipit-source-id: dbc46f340f33c54c1986813eb6a51f5cfec4790d
This commit is contained in:
Nicola Corti
2025-02-05 06:28:29 -08:00
committed by Facebook GitHub Bot
parent 8b8b05cd1e
commit bf4c887e1d
@@ -12,7 +12,7 @@ import com.facebook.yoga.YogaDirection
internal object LayoutDirectionUtil {
@JvmStatic
public fun toAndroidFromYoga(direction: YogaDirection): Int =
fun toAndroidFromYoga(direction: YogaDirection): Int =
when (direction) {
YogaDirection.LTR -> View.LAYOUT_DIRECTION_LTR
YogaDirection.RTL -> View.LAYOUT_DIRECTION_RTL
@@ -20,7 +20,7 @@ internal object LayoutDirectionUtil {
}
@JvmStatic
public fun toYogaFromAndroid(direction: Int): YogaDirection =
fun toYogaFromAndroid(direction: Int): YogaDirection =
when (direction) {
View.LAYOUT_DIRECTION_LTR -> YogaDirection.LTR
View.LAYOUT_DIRECTION_RTL -> YogaDirection.RTL