Browse Source

Override BottomTabs props only if props are undefined

closes #312
Guy Carmeli 8 years ago
parent
commit
fb8dee2d79
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/platformSpecific.android.js

+ 3
- 1
src/platformSpecific.android.js View File

@@ -80,7 +80,9 @@ function savePassProps(params) {
80 80
 
81 81
   if (params.tabs) {
82 82
     _.forEach(params.tabs, (tab) => {
83
-      tab.passProps = params.passProps;
83
+      if (!tab.passProps) {
84
+        tab.passProps = params.passProps;
85
+      }
84 86
       savePassProps(tab);
85 87
     });
86 88
   }