From 586fd54aed2762de855a8b8eec5f3840362d3920 Mon Sep 17 00:00:00 2001 From: Maarten Date: Mon, 12 Aug 2024 09:37:57 +0200 Subject: [PATCH] Update layout for smaller phones --- app/(tabs)/index.tsx | 2 +- app/(tabs)/map.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 28446b9..f75c81c 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -116,7 +116,7 @@ export default function HomeScreen() { nextComponent={ } - weekdays={[ "Zo", "Ma", "Di", "Woe", "Do", "Vrij", "Zat" ]} + weekdays={[ "Ma", "Di", "Woe", "Do", "Vrij", "Zat", "Zo" ]} months={[ "Januari", "Februari", diff --git a/app/(tabs)/map.tsx b/app/(tabs)/map.tsx index 78f0c10..f179830 100644 --- a/app/(tabs)/map.tsx +++ b/app/(tabs)/map.tsx @@ -161,11 +161,11 @@ const styles = StyleSheet.create( { }, mapContainer: { marginTop: 15, - height: 400, + height: Dimensions.get( 'window' ).height / 3, }, map: { width: Dimensions.get( 'window' ).width, - height: 400, + height: Dimensions.get( 'window' ).height / 3, flex: 1, }, listContainer: {