Skip to content

Commit

Permalink
Fix browser button in iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
sastred committed Jun 14, 2016
1 parent 150a86b commit 4cb090d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/MnmRouteMapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const MenuButton = ({openMenu}) => {
export const BrowserButton = ({url}) => {
let icon
if (Platform.OS === 'ios') {
icon = <FontAwesome name="safari" size={24} color={navBarColor} />
icon = <FontAwesome name="safari" size={22} color={navBarColor} style={styles.iosBrowserButton} />
} else {
icon = <FontAwesome name="chrome" size={24} color={navBarColor} />
}
Expand Down Expand Up @@ -87,6 +87,9 @@ export default function mnmRouteMapper(openMenu) {
const navBarColor = '#d35400'

const styles = StyleSheet.create({
iosBrowserButton: {
paddingBottom: 1,
},
browserButtonContainer: {
width: 50,
height: 50,
Expand Down

0 comments on commit 4cb090d

Please sign in to comment.