File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
android/src/main/java/com/fastrsa Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ internal class FastRsaModule(reactContext: ReactApplicationContext) :
24
24
Thread {
25
25
reactApplicationContext.runOnJSQueueThread {
26
26
try {
27
- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
27
+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
28
28
if (contextHolder.toInt() == 0 ) {
29
29
call(name, payload, promise)
30
30
return @runOnJSQueueThread
@@ -66,7 +66,7 @@ internal class FastRsaModule(reactContext: ReactApplicationContext) :
66
66
reactApplicationContext.runOnJSQueueThread {
67
67
Log .d(TAG , " installing" )
68
68
try {
69
- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
69
+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
70
70
if (contextHolder.toInt() == 0 ) {
71
71
promise.resolve(false )
72
72
return @runOnJSQueueThread
You can’t perform that action at this time.
0 commit comments