Skip to content

Commit

Permalink
fix: android specific style
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremybarbet committed May 9, 2022
1 parent f2310e9 commit cea18a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/src/components/Heading.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { ReactNode } from 'react';
import { StyleSheet, Text } from 'react-native';
import { Platform, StyleSheet, Text } from 'react-native';

import { useTheme } from '../hooks/use-theme';

Expand All @@ -18,6 +18,6 @@ const styles = StyleSheet.create({
fontSize: 26,
fontWeight: '700',

marginTop: 80,
marginTop: Platform.OS === 'android' ? 40 : 80,
},
});

0 comments on commit cea18a3

Please sign in to comment.