Skip to content

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

Update ModalWrapper.tsx backdrop on Android to be full height (#1776)

Leendert de Borst0eeb2a487f9b
diff --git a/apps/mobile-app/components/common/ModalWrapper.tsx b/apps/mobile-app/components/common/ModalWrapper.tsx
index c7a256bdf..8f310883c 100644
--- a/apps/mobile-app/components/common/ModalWrapper.tsx
+++ b/apps/mobile-app/components/common/ModalWrapper.tsx
@@ -9,6 +9,7 @@ import {
TouchableWithoutFeedback,
Keyboard,
ScrollView,
+ StatusBar,
} from 'react-native';
import { useColors } from '@/hooks/useColorScheme';
@@ -183,7 +184,15 @@ export const ModalWrapper: React.FC<IModalWrapperProps> = ({
transparent
animationType={animationType}
onRequestClose={handleClose}
+ statusBarTranslucent
>
+ {isOpen && Platform.OS === 'android' && (
+ <StatusBar
+ backgroundColor="transparent"
+ translucent
+ barStyle="light-content"
+ />
+ )}
{renderBackdrop()}
</Modal>
);