Skip to content

Commit 4cb090d

Browse files
committed
Fix browser button in iOS
1 parent 150a86b commit 4cb090d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/MnmRouteMapper.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const MenuButton = ({openMenu}) => {
2525
export const BrowserButton = ({url}) => {
2626
let icon
2727
if (Platform.OS === 'ios') {
28-
icon = <FontAwesome name="safari" size={24} color={navBarColor} />
28+
icon = <FontAwesome name="safari" size={22} color={navBarColor} style={styles.iosBrowserButton} />
2929
} else {
3030
icon = <FontAwesome name="chrome" size={24} color={navBarColor} />
3131
}
@@ -87,6 +87,9 @@ export default function mnmRouteMapper(openMenu) {
8787
const navBarColor = '#d35400'
8888

8989
const styles = StyleSheet.create({
90+
iosBrowserButton: {
91+
paddingBottom: 1,
92+
},
9093
browserButtonContainer: {
9194
width: 50,
9295
height: 50,

0 commit comments

Comments
 (0)