diff --git a/src/navigationStore.js b/src/navigationStore.js index 45edbf540..9101da282 100644 --- a/src/navigationStore.js +++ b/src/navigationStore.js @@ -297,12 +297,14 @@ function createNavigationOptions(params) { || navigationParams.backTitle || ((drawerImage || drawerIcon) && !hideDrawerButton && drawerPosition !== 'right') ) { - res.headerLeft = getValue(navigationParams.left || navigationParams.leftButton || params.renderLeftButton, { ...params, ...navigationParams, ...screenProps }) + const leftButton = navigationParams.left || navigationParams.leftButton || params.renderLeftButton; + res.headerLeft = getValue(leftButton, { ...params, ...navigationParams, ...screenProps }) || (((onLeft && (leftTitle || navigationParams.leftTitle || leftButtonImage || navigationParams.leftButtonImage)) || drawerImage || drawerIcon) && ( )) || res.headerLeft - || (init ? null : (renderBackButton && renderBackButton(state)) || ); + || (init ? null : (!leftButton && renderBackButton && renderBackButton(state)) || (!leftButton && )) + || null; } if (back) {