Refactor PrayerTimeCard component to improve remaining time calculation and enhance background color in HomeScreen for better visibility. Added View import in _layout.tsx for layout adjustments.

This commit is contained in:
2025-08-20 18:13:32 +05:00
parent 02d23507d2
commit 1ab0c85ece
3 changed files with 51 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
import FontAwesome from '@expo/vector-icons/FontAwesome';
import { Tabs } from 'expo-router';
import { useColorScheme } from 'react-native';
import { useColorScheme, View } from 'react-native';
import Colors from '@/constants/Colors';
import i18n from '@/i18n';

View File

@@ -79,6 +79,7 @@ export default function HomeScreen() {
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: Colors.dark.background,
},
innerContainer: {
paddingHorizontal: 15,