Skip to content

Commit

Permalink
fix: remove window init
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski committed Aug 5, 2024
1 parent c4d309d commit 20aa92a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Test All

on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- "*-stable"
# on:
# workflow_dispatch:
# pull_request:
# push:
# tags:
# - 'v*'
# # nightly build @ 2:15 AM UTC
# schedule:
# - cron: '15 2 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
7 changes: 0 additions & 7 deletions packages/react-native/Libraries/AppDelegate/RCTAppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[RCTComponentViewFactory currentComponentViewFactory].thirdPartyFabricComponentsProvider = self;
}

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
UIViewController *rootViewController = [self createRootViewController];
[self setRootView:rootView toRootViewController:rootViewController];
self.window.rootViewController = rootViewController;
self.window.windowScene.delegate = self;
[self.window makeKeyAndVisible];

return YES;
}

Expand Down

0 comments on commit 20aa92a

Please sign in to comment.