Skip to content

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

Update UI margins (#771)

Leendert de Borst88a1491b836c
diff --git a/apps/mobile-app/app/(tabs)/credentials/index.tsx b/apps/mobile-app/app/(tabs)/credentials/index.tsx
index 7e0bbe3cb..252784610 100644
--- a/apps/mobile-app/app/(tabs)/credentials/index.tsx
+++ b/apps/mobile-app/app/(tabs)/credentials/index.tsx
@@ -182,8 +182,8 @@ export default function CredentialsScreen() : React.ReactNode {
},
container: {
flex: 1,
- paddingTop: insets.top,
paddingBottom: insets.bottom,
+ paddingTop: insets.top,
},
content: {
flex: 1,
diff --git a/apps/mobile-app/app/unlock.tsx b/apps/mobile-app/app/unlock.tsx
index 6cceed682..a85c324bb 100644
--- a/apps/mobile-app/app/unlock.tsx
+++ b/apps/mobile-app/app/unlock.tsx
@@ -172,6 +172,11 @@ export default function UnlockScreen() : React.ReactNode {
justifyContent: 'center',
padding: 20,
},
+ loadingContainer: {
+ alignItems: 'center',
+ flex: 1,
+ justifyContent: 'center',
+ },
logo: {
height: 80,
width: 200,
@@ -216,7 +221,9 @@ export default function UnlockScreen() : React.ReactNode {
return (
<ThemedView style={styles.container}>
{isLoading ? (
- <LoadingIndicator status="Unlocking vault..." />
+ <View style={styles.loadingContainer}>
+ <LoadingIndicator status="Unlocking vault..." />
+ </View>
) : (
<KeyboardAvoidingView
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}