Skip to content

Commit

Permalink
BreakingChange: react-native-helpers v1.0.0 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Nov 2, 2020
1 parent 0650ce2 commit d762cea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"@freakycoder/react-native-helpers": "^0.1.3",
"@freakycoder/react-native-helpers": "^1.0.0",
"@freakycoder/react-native-material-textfield": "^1.0.0",
"react": "16.13.1",
"react-native": "0.63.2",
"react-native-login-screen": "^2.1.1",
"react-native-login-screen": "^2.1.2",
"react-native-spinkit": "^1.5.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions lib/LoginScreen.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
isAndroid,
ScreenWidth,
ScreenHeight,
isIPhoneXFamily,
isIPhoneNotchFamily,
} from "@freakycoder/react-native-helpers";

interface Style {
Expand Down Expand Up @@ -34,7 +34,7 @@ export default StyleSheet.create<Style>({
position: "absolute",
alignItems: "center",
justifyContent: "center",
bottom: isIPhoneXFamily() ? 24 : 12,
bottom: isIPhoneNotchFamily() ? 24 : 12,
},
loginButtonStyle: {
left: 0,
Expand All @@ -44,7 +44,7 @@ export default StyleSheet.create<Style>({
position: "absolute",
alignItems: "center",
justifyContent: "center",
bottom: isAndroid ? 24 : isIPhoneXFamily() ? 24 : 12,
bottom: isAndroid ? 24 : isIPhoneNotchFamily() ? 24 : 12,
},
loginButtonTextStyle: {
color: "white",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-login-screen",
"version": "2.1.1",
"version": "2.1.2",
"description": "Fully Customizable & Ready to use Login Screen for React Native",
"keywords": [
"login",
Expand Down Expand Up @@ -35,7 +35,7 @@
"react": ">= 16.x.x",
"react-native": ">= 0.55.x",
"react-native-spinkit": ">= 1.5.0",
"@freakycoder/react-native-helpers": ">= 0.1.3",
"@freakycoder/react-native-helpers": ">= 1.0.0",
"react-native-material-textfield": "@freakycoder/react-native-material-textfield"
},
"devDependencies": {
Expand Down

0 comments on commit d762cea

Please sign in to comment.