Skip to content

Commit 5d82281

Browse files
committed
comments added
1 parent 4fdc415 commit 5d82281

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/ios/TurboModules/RNNTurboManager.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ - (void)onJavaScriptWillLoad {
106106

107107
- (void)onJavaScriptLoaded {
108108
RCTExecuteOnMainQueue(^{
109+
// TODO: the isInitialRun is the right and final answer for this, this will stop a blackscreen appearing after the splashscreen on startup. OnReload this will still happen because of the rootViewController = nil; which is needed to clean up what is already appearing.
109110
if (!self->_isInitialRun) {
110111
UIApplication.sharedApplication.delegate.window.rootViewController = nil;
111112
}

0 commit comments

Comments
 (0)