File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
android/src/main/java/com/fastopenpgp Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ internal class FastOpenpgpModule(reactContext: ReactApplicationContext) :
2525 Thread {
2626 reactApplicationContext.runOnJSQueueThread {
2727 try {
28- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
28+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
2929 if (contextHolder.toInt() == 0 ) {
3030 call(name, payload, promise)
3131 return @runOnJSQueueThread
@@ -67,7 +67,7 @@ internal class FastOpenpgpModule(reactContext: ReactApplicationContext) :
6767 reactApplicationContext.runOnJSQueueThread {
6868 Log .d(TAG , " installing" )
6969 try {
70- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
70+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
7171 if (contextHolder.toInt() == 0 ) {
7272 promise.resolve(false )
7373 return @runOnJSQueueThread
You can’t perform that action at this time.
0 commit comments