Skip to content

Commit 6483777

Browse files
alanleedevfacebook-github-bot
authored andcommitted
fix naming error in AndroidInfoModule
Summary: const val NAME had quotes around it breaking native module loading from CoreReactPackage This error was uncaught in previous diff. Differential Revision: D73070533
1 parent a89f67f commit 6483777

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/AndroidInfoModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public class AndroidInfoModule(reactContext: ReactApplicationContext) :
8181
}
8282

8383
public companion object {
84-
public const val NAME: String = "NativePlatformConstantsAndroidSpec.NAME"
84+
public const val NAME: String = NativePlatformConstantsAndroidSpec.NAME
8585
private const val IS_TESTING = "IS_TESTING"
8686
private const val IS_DISABLE_ANIMATIONS = "IS_DISABLE_ANIMATIONS"
8787
}

0 commit comments

Comments
 (0)