Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Styling Android crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WrathChaos committed Jul 20, 2020
1 parent 15d4d35 commit 3486869
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions example/lib/src/RadioButtonGroup.style.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const _eachContainer = (horizontal) => ({
marginTop: !horizontal && 8,
marginLeft: horizontal && 12,
marginTop: horizontal ? 0 : 8,
marginLeft: horizontal ? 12 : 0,
});

export const _container = (horizontal) => ({
flexDirection: horizontal && "row",
flexDirection: horizontal ? "row" : "column",
});

export default {};
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"react": "16.13.1",
"react-native": "0.63.0",
"react-native-animatable": "^1.3.3",
"react-native-animated-radio-button": "0.0.4"
"react-native-animated-radio-button": "0.1.1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
Expand Down
6 changes: 3 additions & 3 deletions lib/src/RadioButtonGroup.style.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export const _eachContainer = (horizontal) => ({
marginTop: !horizontal && 8,
marginLeft: horizontal && 12,
marginTop: horizontal ? 0 : 8,
marginLeft: horizontal ? 12 : 0,
});

export const _container = (horizontal) => ({
flexDirection: horizontal && "row",
flexDirection: horizontal ? "row" : "column",
});

export default {};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-animated-radio-button-group",
"version": "0.1.0",
"version": "0.1.1",
"description": "Fully customizable, animated & easy to use radio button group",
"keywords": [
"animated",
Expand Down

0 comments on commit 3486869

Please sign in to comment.