Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update top level _layout.tsx so header has correct size on Android (#959)

Leendert de Borst615b5b288373
diff --git a/apps/mobile-app/app/_layout.tsx b/apps/mobile-app/app/_layout.tsx
index 32ffa5c5b..307de7d77 100644
--- a/apps/mobile-app/app/_layout.tsx
+++ b/apps/mobile-app/app/_layout.tsx
@@ -3,7 +3,7 @@ import { useFonts } from 'expo-font';
import { Href, Stack, useRouter } from 'expo-router';
import * as SplashScreen from 'expo-splash-screen';
import { useEffect, useRef, useState } from 'react';
-import { Linking, StyleSheet, Alert } from 'react-native';
+import { Linking, StyleSheet, Alert, Platform } from 'react-native';
import 'react-native-reanimated';
import 'react-native-get-random-values';
import { install } from 'react-native-quick-crypto';
@@ -247,7 +247,7 @@ function RootLayoutNav() : React.ReactNode {
screenOptions={{
headerShown: true,
animation: 'none',
- headerTransparent: true,
+ headerTransparent: Platform.OS === 'ios',
headerStyle: {
backgroundColor: colors.accentBackground,
},