mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
8b8b05cd1e
commit
bf4c887e1d
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user