mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 14:48:25 +00:00
Make REACT_CLASS public so we can use a provider
Summary: Make REACT_CLASS a public property on ReactSwitchManager (similar to our other UI managers) so we can more easily lazily load this class. Reviewed By: mdvacca Differential Revision: D14028452 fbshipit-source-id: 84aebd4e2e1e0039957d8c12490022386aab7847
This commit is contained in:
parent
f83281e2ce
commit
b8246ac89a
@ -32,7 +32,7 @@ import javax.annotation.Nullable;
|
||||
*/
|
||||
public class ReactSwitchManager extends SimpleViewManager<ReactSwitch> {
|
||||
|
||||
private static final String REACT_CLASS = "AndroidSwitch";
|
||||
public static final String REACT_CLASS = "AndroidSwitch";
|
||||
|
||||
static class ReactSwitchShadowNode extends LayoutShadowNode implements
|
||||
YogaMeasureFunction {
|
||||
|
Loading…
x
Reference in New Issue
Block a user