ソースを参照

Fix button disabled color has no effect on Android

Both right and left buttonDisabledColor were not parsed on Android.
Guy Carmeli 4 年 前
コミット
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;