Skip to content

Commit d762cea

Browse files
committed
BreakingChange: react-native-helpers v1.0.0 dependency
1 parent 0650ce2 commit d762cea

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
1111
},
1212
"dependencies": {
13-
"@freakycoder/react-native-helpers": "^0.1.3",
13+
"@freakycoder/react-native-helpers": "^1.0.0",
1414
"@freakycoder/react-native-material-textfield": "^1.0.0",
1515
"react": "16.13.1",
1616
"react-native": "0.63.2",
17-
"react-native-login-screen": "^2.1.1",
17+
"react-native-login-screen": "^2.1.2",
1818
"react-native-spinkit": "^1.5.0"
1919
},
2020
"devDependencies": {

lib/LoginScreen.style.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
isAndroid,
44
ScreenWidth,
55
ScreenHeight,
6-
isIPhoneXFamily,
6+
isIPhoneNotchFamily,
77
} from "@freakycoder/react-native-helpers";
88

99
interface Style {
@@ -34,7 +34,7 @@ export default StyleSheet.create<Style>({
3434
position: "absolute",
3535
alignItems: "center",
3636
justifyContent: "center",
37-
bottom: isIPhoneXFamily() ? 24 : 12,
37+
bottom: isIPhoneNotchFamily() ? 24 : 12,
3838
},
3939
loginButtonStyle: {
4040
left: 0,
@@ -44,7 +44,7 @@ export default StyleSheet.create<Style>({
4444
position: "absolute",
4545
alignItems: "center",
4646
justifyContent: "center",
47-
bottom: isAndroid ? 24 : isIPhoneXFamily() ? 24 : 12,
47+
bottom: isAndroid ? 24 : isIPhoneNotchFamily() ? 24 : 12,
4848
},
4949
loginButtonTextStyle: {
5050
color: "white",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-login-screen",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"description": "Fully Customizable & Ready to use Login Screen for React Native",
55
"keywords": [
66
"login",
@@ -35,7 +35,7 @@
3535
"react": ">= 16.x.x",
3636
"react-native": ">= 0.55.x",
3737
"react-native-spinkit": ">= 1.5.0",
38-
"@freakycoder/react-native-helpers": ">= 0.1.3",
38+
"@freakycoder/react-native-helpers": ">= 1.0.0",
3939
"react-native-material-textfield": "@freakycoder/react-native-material-textfield"
4040
},
4141
"devDependencies": {

0 commit comments

Comments
 (0)