Skip to content

Commit

Permalink
fix: reduce launch image resolution to fix the iOS 14 black screen on…
Browse files Browse the repository at this point in the history
… app launch problem (see ionic-team/capacitor#3589)
  • Loading branch information
sodenn committed Nov 7, 2021
1 parent 5c78476 commit 40bb48f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/data/TaskContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ const [TaskProvider, useTask] = createContext(() => {
}));
}
};
setInitialState().then(() => SplashScreen.hide());
setInitialState().then(() => SplashScreen.hide().catch((e) => void e));
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

Expand Down

0 comments on commit 40bb48f

Please sign in to comment.