Skip to content

Commit

Permalink
Fix button disabled color has no effect on Android
Browse files Browse the repository at this point in the history
Both right and left buttonDisabledColor were not parsed on Android.
  • Loading branch information
guyca committed Nov 25, 2019
1 parent 26d3d82 commit b66ff1d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public static TopBarOptions parse(TypefaceLoader typefaceLoader, JSONObject json

options.rightButtonColor = ColorParser.parse(json, "rightButtonColor");
options.leftButtonColor = ColorParser.parse(json, "leftButtonColor");
options.leftButtonDisabledColor = ColorParser.parse(json, "leftButtonDisabledColor");
options.rightButtonDisabledColor = ColorParser.parse(json, "rightButtonDisabledColor");

options.validate();
return options;
Expand Down

0 comments on commit b66ff1d

Please sign in to comment.