Skip to content

Commit

Permalink
Merge pull request #1 from raulriera/react-native-upgrade
Browse files Browse the repository at this point in the history
Upgraded a few dependencies, fixed a color bug
  • Loading branch information
raulriera committed Sep 4, 2021
2 parents e77f571 + 58a3b5a commit a536dde
Show file tree
Hide file tree
Showing 4 changed files with 549 additions and 973 deletions.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Expand Up @@ -185,7 +185,7 @@ PODS:
- React-cxxreact (= 0.63.4)
- React-jsi (= 0.63.4)
- React-jsinspector (0.63.4)
- react-native-window-tint-color (0.1.0):
- react-native-window-tint-color (1.1.0):
- React-Core
- React-RCTActionSheet (0.63.4):
- React-Core/RCTActionSheetHeaders (= 0.63.4)
Expand Down Expand Up @@ -357,7 +357,7 @@ SPEC CHECKSUMS:
React-jsi: a0418934cf48f25b485631deb27c64dc40fb4c31
React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949
React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a
react-native-window-tint-color: e285d4bfe2a179b5b29ba53a88bfe8a3d44ef8c3
react-native-window-tint-color: 54ee16f08fdfed43ce0f0424552e2a229caa6a5c
React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336
React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b
React-RCTBlob: a97d378b527740cc667e03ebfa183a75231ab0f0
Expand Down
2 changes: 1 addition & 1 deletion ios/WindowTintColor.m
Expand Up @@ -15,7 +15,7 @@ @implementation WindowTintColor
return;
}

UIColor *color = [UIColor colorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:1.0];
UIColor *color = [UIColor colorWithRed:(CGFloat)red/255.0 green:(CGFloat)green/255.0 blue:(CGFloat)blue/255.0 alpha:1.0];
UIWindow *keyWindow = [[UIApplication sharedApplication] keyWindow];
[keyWindow setTintColor: color];

Expand Down
6 changes: 3 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "react-native-window-tint-color",
"version": "1.0.0",
"version": "1.1.0",
"description": "React Native Module to globally tint the keyWindow",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -62,7 +62,7 @@
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "16.13.1",
"react-native": "0.63.4",
"react-native": "^0.64.1",
"react-native-builder-bob": "^0.18.1",
"release-it": "^14.2.2",
"typescript": "^4.1.3"
Expand Down Expand Up @@ -149,4 +149,4 @@
]
]
}
}
}

0 comments on commit a536dde

Please sign in to comment.