Skip to content

Commit deaf7fb

Browse files
committed
Deprecation in 'navigationOptions' aksonov#3799
1 parent aaf14b9 commit deaf7fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Store.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,10 @@ function createNavigationOptions(params) {
326326

327327
if (navigationParams.hideNavBar != null) {
328328
if (navigationParams.hideNavBar) {
329-
res.header = null;
329+
res.headerShown = false;
330330
}
331331
} else if (hideNavBar) {
332-
res.header = null;
332+
res.headerShown = false;
333333
}
334334

335335
if (navTransparent) {

0 commit comments

Comments
 (0)