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,6 +46,8 @@ public class TopBarOptions {
46 46
 
47 47
         options.rightButtonColor = ColorParser.parse(json, "rightButtonColor");
48 48
         options.leftButtonColor = ColorParser.parse(json, "leftButtonColor");
49
+        options.leftButtonDisabledColor = ColorParser.parse(json, "leftButtonDisabledColor");
50
+        options.rightButtonDisabledColor = ColorParser.parse(json, "rightButtonDisabledColor");
49 51
 
50 52
         options.validate();
51 53
         return options;