diff --git a/src/app/_layout.tsx b/src/app/_layout.tsx index 27dcaded..c653899a 100644 --- a/src/app/_layout.tsx +++ b/src/app/_layout.tsx @@ -1,5 +1,6 @@ import CrashView from '@/components/Error/CrashView' import PlatformIcon from '@/components/Universal/Icon' +import ShareHeaderButton from '@/components/Universal/ShareHeaderButton' import Provider from '@/components/provider' import i18n from '@/localization/i18n' import '@/styles/unistyles' @@ -182,6 +183,9 @@ function RootLayout(): JSX.Element { presentation: 'modal', }, }), + headerRight: () => ( + {}} /> + ), }} /> ( + {}} /> + ), }} /> ( + {}} /> + ), }} /> ( + {}} /> + ), }} /> ) } const stylesheet = createStyleSheet((theme) => ({ + icon: { + ...Platform.select({ + android: { + marginRight: 2, + color: theme.colors.text, + }, + ios: { + marginBottom: 3, + color: theme.colors.primary, + }, + }), + }, shareButton: { alignItems: 'center', - backgroundColor: theme.colors.background, - borderRadius: 25, + backgroundColor: Platform.select({ + android: undefined, + ios: theme.colors.background, + }), + borderRadius: Platform.select({ + android: undefined, + ios: theme.radius.infinite, + }), height: 34, justifyContent: 'center', marginRight: -5,