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) :
25
25
Thread {
26
26
reactApplicationContext.runOnJSQueueThread {
27
27
try {
28
- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
28
+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
29
29
if (contextHolder.toInt() == 0 ) {
30
30
call(name, payload, promise)
31
31
return @runOnJSQueueThread
@@ -67,7 +67,7 @@ internal class FastOpenpgpModule(reactContext: ReactApplicationContext) :
67
67
reactApplicationContext.runOnJSQueueThread {
68
68
Log .d(TAG , " installing" )
69
69
try {
70
- val contextHolder = this .reactApplicationContext.javaScriptContextHolder.get()
70
+ val contextHolder = this .reactApplicationContext.javaScriptContextHolder!! .get()
71
71
if (contextHolder.toInt() == 0 ) {
72
72
promise.resolve(false )
73
73
return @runOnJSQueueThread
You can’t perform that action at this time.
0 commit comments