Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit fd95b22

Browse files
committed
fix(android): add non-null checks to start
1 parent 339e6a2 commit fd95b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/reactnativespokestack/SpokestackModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ class SpokestackModule(private val reactContext: ReactApplicationContext): React
261261
return
262262
}
263263
try {
264-
spokestack?.start()
265-
spokestack?.resume()
264+
spokestack!!.start()
265+
spokestack!!.resume()
266266
promise.resolve(null)
267267

268268
// Send a start event for parity with iOS

0 commit comments

Comments
 (0)