Browse Source

Fix topBar buttons iconsInsets

yogevbd 5 years ago
parent
commit
e2dcef9d4a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/ios/RNNButtonOptions.m

+ 1
- 1
lib/ios/RNNButtonOptions.m View File

11
 	self.color = [ColorParser parse:dict key:@"color"];
11
 	self.color = [ColorParser parse:dict key:@"color"];
12
 	self.disabledColor = [ColorParser parse:dict key:@"disabledColor"];
12
 	self.disabledColor = [ColorParser parse:dict key:@"disabledColor"];
13
 	self.icon = [ImageParser parse:dict key:@"icon"];
13
 	self.icon = [ImageParser parse:dict key:@"icon"];
14
-	self.iconInsets = [[RNNInsetsOptions alloc] initWithDict:dict];
14
+	self.iconInsets = [[RNNInsetsOptions alloc] initWithDict:dict[@"iconInsets"]];
15
 	self.enabled = [BoolParser parse:dict key:@"enabled"];
15
 	self.enabled = [BoolParser parse:dict key:@"enabled"];
16
 	
16
 	
17
 
17