From 949748b49ad725f4361ee459cc01d84cfbfe5a67 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Wed, 20 Aug 2025 13:18:50 +0500 Subject: [PATCH] Update HomeScreen and FeatureCard styles for improved localization and layout - Changed badge text in HomeScreen to include localized time format. - Enhanced description in HomeScreen's FeatureCard for clarity. - Adjusted FeatureCard styles to use 'space-around' for better content distribution and set a max width for the description to improve readability. --- app/(tabs)/home.tsx | 4 ++-- components/FeatureCard.tsx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/(tabs)/home.tsx b/app/(tabs)/home.tsx index 96b9e74..8e89d2e 100644 --- a/app/(tabs)/home.tsx +++ b/app/(tabs)/home.tsx @@ -62,9 +62,9 @@ export default function HomeScreen() { diff --git a/components/FeatureCard.tsx b/components/FeatureCard.tsx index b8a05a7..6267963 100644 --- a/components/FeatureCard.tsx +++ b/components/FeatureCard.tsx @@ -51,7 +51,7 @@ const styles = StyleSheet.create({ }, content: { flexDirection: 'row', - justifyContent: 'space-between', + justifyContent: 'space-around', alignItems: 'center', }, title: { @@ -60,6 +60,7 @@ const styles = StyleSheet.create({ color: Colors.dark.text, }, description: { + maxWidth: '80%', fontSize: 14, color: Colors.dark.textSecondary, marginTop: 5,