Skip to content

Commit 8d4e373

Browse files
chrfalchgabrieldonadel
authored andcommitted
[0.80] Change type from String? -> String (#40)
1 parent 16b608e commit 8d4e373

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ import java.util.Locale
1818

1919
public object AndroidInfoHelpers {
2020

21-
public var EMULATOR_LOCALHOST: String? = "10.0.2.2"
22-
public var GENYMOTION_LOCALHOST: String? = "10.0.3.2"
21+
public var EMULATOR_LOCALHOST: String = "10.0.2.2"
22+
public var GENYMOTION_LOCALHOST: String = "10.0.3.2"
2323
@JvmField
24-
public var DEVICE_LOCALHOST: String? = "localhost"
24+
public var DEVICE_LOCALHOST: String = "localhost"
2525
public val METRO_HOST_PROP_NAME: String = "metro.host"
2626
private val TAG = AndroidInfoHelpers::class.java.simpleName
2727
private var metroHostPropValue: String? = null

0 commit comments

Comments
 (0)