Skip to content

Commit

Permalink
Fix topBar buttons iconsInsets
Browse files Browse the repository at this point in the history
  • Loading branch information
yogevbd committed Mar 25, 2019
1 parent 0e29a03 commit e2dcef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ios/RNNButtonOptions.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ - (instancetype)initWithDict:(NSDictionary *)dict {
self.color = [ColorParser parse:dict key:@"color"];
self.disabledColor = [ColorParser parse:dict key:@"disabledColor"];
self.icon = [ImageParser parse:dict key:@"icon"];
self.iconInsets = [[RNNInsetsOptions alloc] initWithDict:dict];
self.iconInsets = [[RNNInsetsOptions alloc] initWithDict:dict[@"iconInsets"]];
self.enabled = [BoolParser parse:dict key:@"enabled"];


Expand Down

0 comments on commit e2dcef9

Please sign in to comment.