From deaf7fbc17e5213700508ad6b9b01fe5aeb30659 Mon Sep 17 00:00:00 2001 From: Benjamin Michotte Date: Wed, 18 Oct 2023 13:46:18 +0200 Subject: [PATCH] Deprecation in 'navigationOptions' #3799 --- src/Store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Store.js b/src/Store.js index 82eed18b..4b449874 100644 --- a/src/Store.js +++ b/src/Store.js @@ -326,10 +326,10 @@ function createNavigationOptions(params) { if (navigationParams.hideNavBar != null) { if (navigationParams.hideNavBar) { - res.header = null; + res.headerShown = false; } } else if (hideNavBar) { - res.header = null; + res.headerShown = false; } if (navTransparent) {