Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
fixed iphone error
Browse files Browse the repository at this point in the history
  • Loading branch information
Damodar Lohani authored and Damodar Lohani committed Nov 22, 2017
1 parent b84d4d4 commit 25bd69c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/icon/Icon.js
Expand Up @@ -15,7 +15,7 @@ class Icon extends Component {
return this.props.name;
} else if (typeof ic[this.props.name] === "object") {
let name;
if (Platform.OS === "ios" && platformStyle !== "material") {
if (Platform.OS === "ios") {
name = this.props.active ? ic[this.props.name].ios.active : ic[this.props.name].ios.default;
} else {
name = this.props.active ? ic[this.props.name].android.active : ic[this.props.name].android.default;
Expand Down
1 change: 0 additions & 1 deletion src/screens/component-list/index.js
Expand Up @@ -31,7 +31,6 @@ class ComponentListScreen extends React.Component{
<Button
icon={{name: 'code'}}
backgroundColor='#03A9F4'
fontFamily='Lato'
buttonStyle={{borderRadius: 0, marginLeft: 0, marginRight: 0, marginBottom: 0}}
title='VIEW NOW' />
</Card>
Expand Down

0 comments on commit 25bd69c

Please sign in to comment.