Browse Source

Override button color from screen even if color is defined in AppStyle

Guy Carmeli 7 years ago
parent
commit
26e7edf1c7

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/params/BaseTitleBarButtonParams.java View File

@@ -31,7 +31,7 @@ public class BaseTitleBarButtonParams {
31 31
     }
32 32
 
33 33
     private void setColorFromScreenStyle(StyleParams.Color titleBarButtonColor) {
34
-        if (!color.hasColor() && titleBarButtonColor.hasColor()) {
34
+        if (titleBarButtonColor.hasColor()) {
35 35
             color = titleBarButtonColor;
36 36
         }
37 37
     }