mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update overflowInset flag to use public static field
Summary: There's no need to use private feature flag for overflowInset feature. This makes future refactor on feature flags easier. Reviewed By: javache Differential Revision: D35866302 fbshipit-source-id: a3fde212ff40cd6d4c68832bb39b34de5a17a8d4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c8550bb5fa
commit
16f30fc0ec
@@ -86,15 +86,7 @@ public class ReactFeatureFlags {
|
||||
}
|
||||
|
||||
/** Feature Flag to use overflowInset values provided by Yoga */
|
||||
private static boolean useOverflowInset = false;
|
||||
|
||||
public static void setUseOverflowInset(boolean enabled) {
|
||||
useOverflowInset = enabled;
|
||||
}
|
||||
|
||||
public static boolean doesUseOverflowInset() {
|
||||
return useOverflowInset;
|
||||
}
|
||||
public static boolean useOverflowInset = false;
|
||||
|
||||
public static boolean enableLockFreeEventDispatcher = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user