Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 784126b

Browse files
committed
fix: kotlin initNetworkGraph resolve promise when no RGS is happening
1 parent 3b9b6b3 commit 784126b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/android/src/main/java/com/reactnativeldk/LdkModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,9 @@ class LdkModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaMod
338338
body.putInt("node_count", networkGraph!!.read_only().list_nodes().count())
339339
LdkEventEmitter.send(EventTypes.network_graph_updated, body)
340340
}
341-
342-
handleResolve(promise, LdkCallbackResponses.network_graph_init_success)
343341
}
342+
343+
handleResolve(promise, LdkCallbackResponses.network_graph_init_success)
344344
}
345345

346346
@ReactMethod

0 commit comments

Comments
 (0)