浏览代码

Fix topBar buttons iconsInsets

yogevbd 5 年前
父节点
当前提交
e2dcef9d4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      lib/ios/RNNButtonOptions.m

+ 1
- 1
lib/ios/RNNButtonOptions.m 查看文件

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