Skip to content

Commit cea18a3

Browse files
committed
fix: android specific style
1 parent f2310e9 commit cea18a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/src/components/Heading.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { ReactNode } from 'react';
2-
import { StyleSheet, Text } from 'react-native';
2+
import { Platform, StyleSheet, Text } from 'react-native';
33

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

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

21-
marginTop: 80,
21+
marginTop: Platform.OS === 'android' ? 40 : 80,
2222
},
2323
});

0 commit comments

Comments
 (0)