Skip to content

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

Update folder screen top padding to work on all devices (#1404)

Leendert de Borstae800947678b
diff --git a/apps/mobile-app/app/(tabs)/items/folder/[id].tsx b/apps/mobile-app/app/(tabs)/items/folder/[id].tsx
index 86282577c..3cbd2dcc9 100644
--- a/apps/mobile-app/app/(tabs)/items/folder/[id].tsx
+++ b/apps/mobile-app/app/(tabs)/items/folder/[id].tsx
@@ -330,13 +330,12 @@ export default function FolderViewScreen(): React.ReactNode {
},
});
- const paddingTop = Platform.OS === 'ios' ? 16 : 16;
+ const paddingTop = Platform.OS === 'ios' ? 56 : 16;
const paddingBottom = Platform.OS === 'ios' ? insets.bottom + 60 : 40;
const styles = StyleSheet.create({
container: {
paddingHorizontal: 0,
- paddingTop: paddingTop + 100,
},
contentContainer: {
paddingBottom: paddingBottom,
@@ -513,6 +512,7 @@ export default function FolderViewScreen(): React.ReactNode {
onRefresh={onRefresh}
colors={[colors.primary]}
tintColor={colors.primary}
+ progressViewOffset={Platform.OS === 'ios' ? 44 : undefined}
/>
}
renderItem={({ item: itm }) =>