From d88ecb5fec7e0bdbb887b245585c25eeb1fe70df Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Tue, 22 Apr 2025 20:21:28 +0200 Subject: [PATCH] Make list content overflow under bottom nav bar (#771) --- mobile-app/app/(tabs)/(credentials)/index.tsx | 3 ++- mobile-app/app/(tabs)/(emails)/index.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mobile-app/app/(tabs)/(credentials)/index.tsx b/mobile-app/app/(tabs)/(credentials)/index.tsx index 06159ec42..a974802ad 100644 --- a/mobile-app/app/(tabs)/(credentials)/index.tsx +++ b/mobile-app/app/(tabs)/(credentials)/index.tsx @@ -141,7 +141,6 @@ export default function CredentialsScreen() { const styles = StyleSheet.create({ container: { flex: 1, - marginBottom: 80, }, content: { flex: 1, @@ -206,6 +205,8 @@ export default function CredentialsScreen() { { useNativeDriver: true } )} scrollEventThrottle={16} + contentContainerStyle={{ paddingBottom: 40 }} + scrollIndicatorInsets={{ bottom: 40 }} ListHeaderComponent={ diff --git a/mobile-app/app/(tabs)/(emails)/index.tsx b/mobile-app/app/(tabs)/(emails)/index.tsx index d70f1a024..81befa946 100644 --- a/mobile-app/app/(tabs)/(emails)/index.tsx +++ b/mobile-app/app/(tabs)/(emails)/index.tsx @@ -164,7 +164,6 @@ export default function EmailsScreen() { const styles = StyleSheet.create({ container: { flex: 1, - marginBottom: 80, }, content: { flex: 1, @@ -213,6 +212,8 @@ export default function EmailsScreen() { { useNativeDriver: true } )} scrollEventThrottle={16} + contentContainerStyle={{ paddingBottom: 40 }} + scrollIndicatorInsets={{ bottom: 40 }} refreshControl={