Skip to content

Commit 813134e

Browse files
Fix bug on iOS
1 parent ef9daec commit 813134e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ios/RCTImageTools/RCTImageTools.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ bool saveImage(NSString * fullPath, UIImage * image, NSString * format, float qu
154154
}
155155
}
156156

157-
UInt32 frontColor = 0;
157+
uint frontColor = 0;
158158
[[NSScanner scannerWithString:frontColorString] scanHexInt:&frontColor];
159-
UInt32 backColor = 65535;
159+
uint backColor = 65535;
160160
[[NSScanner scannerWithString:backColorString] scanHexInt:&backColor];
161161
switch (type) {
162162
case 1:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-image-tool",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "React Native Image Tool",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)