Fix typo in header transition preset check (uitkit -> uikit) (#4757)

This commit is contained in:
Simone D'Avico 2018-07-25 20:49:24 +02:00 committed by Brent Vatne
parent 714d5eab6b
commit 6fc21250ec
2 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
- Incorrect parameters passed to title offset calculation led to bug in header layout when no right component (https://github.com/react-navigation/react-navigation/issues/4754)
### Fixed
- Typo in Header transition preset check.
## [2.9.0] - [2018-07-20](https://github.com/react-navigation/react-navigation/releases/tag/2.9.0)
### Added
- `headerLayoutPreset: 'center' | 'left'` to provide an easy solution for [questions like this](https://github.com/react-navigation/react-navigation/issues/4615).

View File

@ -490,7 +490,7 @@ class StackViewLayout extends React.Component {
if (headerLayoutPreset) {
if (__DEV__) {
if (
this._getHeaderTransitionPreset() === 'uitkit' &&
this._getHeaderTransitionPreset() === 'uikit' &&
headerLayoutPreset === 'left' &&
Platform.OS === 'ios'
) {