瀏覽代碼

Fix button disabled color has no effect on Android

Both right and left buttonDisabledColor were not parsed on Android.
Guy Carmeli 5 年之前
父節點
當前提交
b66ff1d4b6
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      lib/android/app/src/main/java/com/reactnativenavigation/parse/TopBarOptions.java

+ 2
- 0
lib/android/app/src/main/java/com/reactnativenavigation/parse/TopBarOptions.java 查看文件

@@ -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;