Przeglądaj źródła

Fix topBar buttons iconsInsets

yogevbd 5 lat temu
rodzic
commit
e2dcef9d4a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      lib/ios/RNNButtonOptions.m

+ 1
- 1
lib/ios/RNNButtonOptions.m Wyświetl plik

@@ -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