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) :
2424 Thread {
2525 reactApplicationContext.runOnJSQueueThread {
2626 try {
27- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
27+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
2828 if (contextHolder.toInt() == 0 ) {
2929 call(name, payload, promise)
3030 return @runOnJSQueueThread
@@ -66,7 +66,7 @@ internal class FastRsaModule(reactContext: ReactApplicationContext) :
6666 reactApplicationContext.runOnJSQueueThread {
6767 Log .d(TAG , " installing" )
6868 try {
69- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
69+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
7070 if (contextHolder.toInt() == 0 ) {
7171 promise.resolve(false )
7272 return @runOnJSQueueThread
You can’t perform that action at this time.
0 commit comments