Browse Source

Fix button disabled color has no effect on Android

Both right and left buttonDisabledColor were not parsed on Android.
Guy Carmeli 5 years ago
parent
commit
b66ff1d4b6

+ 2
- 0
lib/android/app/src/main/java/com/reactnativenavigation/parse/TopBarOptions.java View File

46
 
46
 
47
         options.rightButtonColor = ColorParser.parse(json, "rightButtonColor");
47
         options.rightButtonColor = ColorParser.parse(json, "rightButtonColor");
48
         options.leftButtonColor = ColorParser.parse(json, "leftButtonColor");
48
         options.leftButtonColor = ColorParser.parse(json, "leftButtonColor");
49
+        options.leftButtonDisabledColor = ColorParser.parse(json, "leftButtonDisabledColor");
50
+        options.rightButtonDisabledColor = ColorParser.parse(json, "rightButtonDisabledColor");
49
 
51
 
50
         options.validate();
52
         options.validate();
51
         return options;
53
         return options;