We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 493e79a commit bbcb13cCopy full SHA for bbcb13c
ios/RNSScreenStackHeaderConfig.mm
@@ -704,11 +704,11 @@ + (void)updateViewController:(UIViewController *)vc
704
navitem.title = config.title;
705
706
// Set leftBarButtonItems if provided
707
- if (config.headerLeftBarButtonItems) {
+ if (config.headerLeftBarButtonItems.count > 0) {
708
navitem.leftBarButtonItems = [config barButtonItemsFromDictionaries:config.headerLeftBarButtonItems];
709
}
710
// Set rightBarButtonItems if provided
711
- if (config.headerRightBarButtonItems) {
+ if (config.headerRightBarButtonItems.count > 0) {
712
navitem.rightBarButtonItems = [config barButtonItemsFromDictionaries:config.headerRightBarButtonItems];
713
714
0 commit comments